.page-template-rtorevolution {
    --green: #00B972;
    --red: #CE2127;
    --blue: #1B2A49;
}

.page-template-rtorevolution main {
    font-size: 16px;
    --gray: #252525;
}

.page-template-rtorevolution main .container {
    width: 1670px;
    padding: 0 15px;
}

#masthead {
    position: fixed;
    top: 0 !important;
}

#masthead .toggle-podcast-popup,
.popup-podcast {
    display: none !important;
}

#masthead.rto #site-navigation .menu>li+li {
    margin-left: 65px;
}

#masthead.rto .button {
    padding: 0;
    height: 46px;
    line-height: 46px;
    width: 175px;
    font-size: 20px;
    letter-spacing: 0;
    font-weight: normal;
    padding: 0.15em 0 0;
}

#masthead.rto .button:after {
    display: none !important;
}

#masthead #site-navigation .menu>li a:hover {
    color: var(--red);
}

.page-template-rtorevolution main .button {
    background-color: var(--red);
}

#hero {
    padding: 210px 0 169px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url(../../images/rtorevolution/hero-back.jpg);
    background-image: -webkit-image-set(url("../../images/rtorevolution/hero-back.jpg") 1x, url("../../images/rtorevolution/hero-back@2x.jpg") 2x);
}

#hero .container {
    column-gap: 30px;
}

.hero-content {
    color: #fff;
}

.hero-content h1 {
    font-size: 8em;
    font-family: 'salmondsemi_bold';
    line-height: 1;
}

.hero-content h1 span {
    font-size: 65.625%;
}

.hero-content h1 small {
    font-family: 'AvenirNext-Medium';
    font-size: 23.4375%;
    display: block;
}

.hero-content p {
    font-size: 2.1875em;
    font-family: 'AvenirNext-Medium';
    line-height: 1.71428571;
    margin-top: 40px;
    margin-bottom: 0;
}

.hero-content p strong {
    font-family: 'Avenir Next Bold';
}

#learn {
    padding-top: 170px;
    padding-bottom: 128px;
    --swiper-navigation-size: 77px;
}

#learn .learn-content {
    color: #fff;
}

#learn .learn-content h3 {
    font-size: 3.125em;
    line-height: 1.32;
    text-transform: uppercase;
    font-family: 'salmondsemi_bold';
    margin-top: 0;
    margin-bottom: 10px;
}

#learn .learn-content p {
    font-family: 'avenir-regular';
    font-size: 2em;
    line-height: 1.375;
    margin: 0 auto 90px;
    width: 970px;
    max-width: 100%;
}

#learn .swiper-slide {
    border-radius: 20px;
    width: 25.520833vw;
    padding: 42px 65px 59px 31px;
    height: auto;
}

#learn .swiper-button-next,
#learn .swiper-button-prev {
    width: var(--swiper-navigation-size);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url(../../images/rtorevolution/arrow-left.png);
    background-image: -webkit-image-set(url("../../images/rtorevolution/arrow-left.png") 1x, url("../../images/rtorevolution/arrow-left@2x.png") 2x);
}

#learn .swiper-button-next:after,
#learn .swiper-button-prev:after {
    display: none;
}

#learn .swiper-button-next {
    transform: scaleX(-1);
    right: 144px;
}

#learn .swiper-button-prev {
    left: 144px;
}

#learn .item-head .icon {
    flex-shrink: 0;
    margin-right: 22px;
}

#learn .item-head p {
    font-size: 2.125em;
    line-height: 1.17647059;
    margin-bottom: 0;
}

#learn .item-content {
    margin-top: 41px;
}

#learn .item-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#learn .item-content ul li {
    position: relative;
    padding-left: 25px;
}

#learn .item-content ul li:before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    position: absolute;
    left: 0;
    top: 3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url(../../images/rtorevolution/checkmark.png);
    background-image: -webkit-image-set(url("../../images/rtorevolution/checkmark.png") 1x, url("../../images/rtorevolution/checkmark@2x.png") 2x);
}

#learn .item-content li {
    font-size: 1.375em;
    line-height: 1.36363636;
}

#learn .item-content li+li {
    margin-top: 10px;
}

#authors {
    padding: 171px 0;
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
    background-image: url(../../images/rtorevolution/authors-back.jpg);
    background-image: -webkit-image-set(url("../../images/rtorevolution/authors-back.jpg") 1x, url("../../images/rtorevolution/authors-back@2x.jpg") 2x);
}

#authors h3 {
    margin-bottom: 117px;
    font-size: 3.125em;
    line-height: 1.32;
}

#authors .authors {
    padding-right: 56px;
}

#authors .author {
    border-radius: 20px;
    padding: 58px 0 57px 81px;
    width: 1150px;
    height: auto;
    display: flex;
}

#authors .author:nth-child(odd) {
    margin-left: auto;
    margin-right: 0;
}

#authors .author+.author {
    margin-top: 80px;
}

#authors .author .author-details {
    margin-right: 93px;
}

#authors .author .author-image {
    margin-right: -56px;
    flex-shrink: 0;
}

#authors .author .author-name {
    font-size: 2.625em;
    line-height: 1.23809524;
    margin-bottom: 20px;
}

#authors .author .author-position {
    font-size: 2.625em;
    line-height: 0.76190476;
    margin-bottom: 32px;
}

#authors .author .author-bio p {
    font-size: 1.25em;
    line-height: 1.6;
    font-family: 'salmondlight';
    margin-bottom: 38px;
}

#authors .author .bio-more {
    font-size: 1.25em;
}

#companies {
    padding-top: 172px;
    padding-bottom: 131px;
}

#companies h3 {
    margin-bottom: 97px;
    font-size: 3.125em;
    line-height: 1.32;
}

#companies .companies {
    column-gap: 114px;
}

#companies .company {
    border-radius: 30px;
    width: 668px;
    padding: 0 48px 70px;
}

#companies .company-logo {
    margin-top: -20px;
}

#companies .company-details {
    margin-top: 95px;
}

#companies .company-details p {
    line-height: 1.6;
    font-size: 1.25em;
    font-family: 'salmondlight';
}

#companies .company-details .company-full-bio {
    margin-top: 38px;
}

#companies .company-buttons {
    column-gap: 50px;
    margin-top: 38px;
}

#companies .button {
    border: none;
    padding-top: 0.15em;
}

#companies .button:after {
    display: none;
}

#copyright {
    padding: 10px 0 138px;
}

#copyright p {
    margin-bottom: 0;
    font-size: 0.875em;
    line-height: 1;
}

#bar {
    padding-top: 40px;
    padding-bottom: 40px;
}

#bar p {
    font-size: 27px;
    line-height: 1;
    margin-bottom: 0;
}

#bar .button {
    width: 171px;
    height: 48px;
    border-radius: 24px;
    font-size: 1.25em;
    line-height: 1;
    font-weight: normal;
    margin-left: 111px;
    padding: 0.15em 0 0;
}

#bar .button:after {
    display: none;
}

footer {
    display: none !important;
}

#rto-popup {
    z-index: 9999;
}

#rto-popup .popup-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

#rto-popup .popup-close {
    padding: 24px;
}

#rto-popup .popup-content {
    width: 702px;
    height: 502px;
    padding: 57px 37px 59px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url(../../images/rtorevolution/popup-back.jpg);
    background-image: -webkit-image-set(url("../../images/rtorevolution/popup-back.jpg") 1x, url("../../images/rtorevolution/popup-back@2x.jpg") 2x);
}

#rto-popup .gform_description {
    font-family: 'salmondsemi_bold';
    font-size: 23px;
    line-height: 1.43478261;
    color: #fff;
    text-align: center;
    margin-bottom: 44px;
}

#rto-popup .gform_description span {
    font-size: 152.173913%;
}

#rto-popup .validation_message {
    display: none !important;
}

#rto-popup .gform_wrapper.gravity-theme input[type="email"],
#rto-popup .gform_wrapper.gravity-theme input[type="text"] {
    height: 59px;
    line-height: 59px;
    border-radius: 12px;
}

#rto-popup .gform_wrapper.gravity-theme input::placeholder,
#rto-popup .gform_wrapper.gravity-theme input {
    font-family: 'avenir-regular';
    font-size: 23px !important;
}

#rto-popup .gform_wrapper.gravity-theme .gform_fields {
    grid-column-gap: 28px;
}

#rto-popup .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 28px !important;
}

#rto-popup .gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full) {
    padding-right: 14px;
}

#rto-popup .gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full)~span:not(.ginput_full) {
    padding-left: 14px;
    padding-right: 0;
}

#rto-popup .button,
#rto-popup .button:hover {
    background-color: var(--red);
    color: #fff;
    font-family: 'Avenir Next Bold';
    margin-bottom: 0;
}

#rto-popup .button:after {
    display: none;
}

#rto-popup .gform_wrapper.gravity-theme .gform_footer {
    margin: 45px 0 0 !important;
    padding: 0;
    flex-direction: column;
    align-items: center;
}

#rto-popup #gform_ajax_spinner_4 {
    display: block;
    margin: 0 auto;
}

#rto-popup .gform_confirmation_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#rto-popup .gform_confirmation_message {
    border: none;
    color: #fff;
    font-family: 'salmondsemi_bold';
    font-weight: normal;
    font-size: 16px !important;
}

#rto-popup .gform_confirmation_message p {
    font-size: 1.4375em !important;
    margin-bottom: 0;
}

#rto-popup .gform_confirmation_message p.h3 {
    font-size: 2.1875em !important;
    margin-bottom: 20px;
}

@media screen and (max-width: 1919px) {
    #learn {
        --swiper-navigation-size: 50px;
    }

    #learn .swiper-slide {
        width: 33.333vw;
    }

    #learn .swiper-button-next {
        right: 15px;
    }

    #learn .swiper-button-prev {
        left: 15px;
    }
}

@media screen and (max-width: 1599px) {
    .hero-content h1 {
        font-size: 5em;
    }

    .hero-content p {
        font-size: 1.7em;
    }

    #learn .item-head p {
        font-size: 1.5em;
    }

    #learn .item-content li {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1199px) {
    #hero {
        padding: 110px 0;
    }

    #learn {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    #learn .swiper-slide {
        padding: 42px 65px 59px 31px;
        width: 50vw;
    }

    #companies .companies {
        column-gap: 30px;
    }
}

@media screen and (min-width: 992px) {
    #authors .swiper {
        overflow: visible;
    }

    #authors .swiper-wrapper {
        flex-direction: column;
    }
}

@media screen and (max-width: 991px) {
    #hero {
        padding: 110px 0 0;
    }

    #hero .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #authors {
        padding: 80px 0;
    }

    #authors .container {
        padding: 0;
    }

    #authors h3 {
        margin-bottom: 50px;
    }

    #authors .swiper {
        padding-bottom: 158px;
        --swiper-pagination-bullet-size: 15px;
        --swiper-pagination-color: #000;
        --swiper-pagination-bullet-horizontal-gap: 10px;
        --swiper-pagination-bullet-inactive-color: #fff;
        --swiper-pagination-bullet-inactive-opacity: 1;
    }

    #authors .swiper-pagination {
        bottom: 0;
    }

    #authors .swiper-pagination-bullet {
        border: 1px solid var(--swiper-pagination-color);
    }

    #authors .authors {
        padding-right: 0;
    }

    #authors .author {
        border-radius: 20px;
        padding: 75px 8px 95px 20px;
        width: 350px;
        max-width: calc(100vw - 30px);
        height: fit-content;
    }

    #authors .author+.author {
        margin-top: 0;
    }

    #authors .author .author-details {
        margin-right: 0;
    }

    #authors .author .author-image {
        width: 195px;
        right: -40px;
        bottom: -103px;
        position: absolute;
        margin-right: 0;
        flex-shrink: 0;
    }

    #authors .author .author-name {
        font-size: 1.375em;
        line-height: 1.31818182;
        margin-bottom: 7px;
    }

    #authors .author .author-position {
        font-size: 1.375em;
        line-height: 1.31818182;
        margin-bottom: 30px;
    }

    #authors .author .author-bio p {
        font-size: 1em;
        line-height: 1.75;
        margin-bottom: 34px;
    }

    #authors .author .bio-more {
        font-size: 1em;
    }

    #companies .companies {
        flex-direction: column;
        row-gap: 62px;
        align-items: center;
    }

    #companies .company-details .company-full-bio {
        margin-top: 34px;
    }

    #bar {
        padding-top: 17px;
        padding-bottom: 17px;
    }

    #bar .button {
        margin-left: 50px;
    }

    #copyright {
        padding: 7px 0 83px;
    }
}

@media screen and (min-width: 992px) {
    .scrolled {
        margin-top: 0;
    }
}

@media screen and (max-width: 767px) {
    #learn .swiper-slide {
        width: 70vw;
    }

    #masthead.rto {
        margin-top: 13px;
    }

    /*
    #masthead.rto .container {
        padding: 0;
    }
    #masthead.rto .innr {
        box-shadow: none;
        background-color: transparent;
        padding: 0;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        border-radius: 0;
    }
    #masthead.rto .innr::-webkit-scrollbar {
        display: none;
    } 
    */
    #masthead.rto .right {
        justify-content: flex-start;
        white-space: nowrap;
        width: 100%;
    }

    #masthead.rto #site-navigation .menu {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    #masthead.rto #site-navigation .menu>li {
        float: none;
    }

    #masthead.rto .button {
        display: none;
    }

    #masthead.rto #site-navigation {
        margin-left: 0;
        width: 100%;
    }

    #masthead.rto #site-navigation .menu>li a {
        height: 42px;
        line-height: 42px;
        padding: 0 !important;
        border-radius: 21px;
        font-size: 12px;
        flex-shrink: 0;
    }

    /*
    #masthead.rto #site-navigation .menu>li a {
        background-color: #fff;
        box-shadow: 0px 3px 8px 0px rgba(63, 135, 255, 0.52);
    }
        */
    #masthead.rto .button,
    #masthead.rto #site-navigation .menu>li+li {
        margin-left: 25px;
    }

    #masthead.rto #site-navigation .menu>li a span {
        height: auto;
        text-align: center;
    }
}

@media screen and (max-width: 640px) {
    #rto-popup .popup-close {
        padding: 24px;
    }

    #rto-popup .popup-content {
        width: 414px;
        height: 689px;
        padding: 81px 34px 0;
        background-image: url(../../images/rtorevolution/popup-back-m.jpg);
        background-image: -webkit-image-set(url("../../images/rtorevolution/popup-back-m.jpg") 1x, url("../../images/rtorevolution/popup-back-m@2x.jpg") 2x);
    }

    #rto-popup .gform_description {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 34px;
    }

    #rto-popup .gform_description span {
        font-size: 160%;
    }

    #rto-popup .gform_wrapper.gravity-theme input[type="email"],
    #rto-popup .gform_wrapper.gravity-theme input[type="text"] {
        height: 62px;
        line-height: 62px;
        border-radius: 15px;
    }

    #rto-popup .gform_wrapper.gravity-theme .gform_fields {
        grid-column-gap: 0;
    }

    #rto-popup .gform_wrapper.gravity-theme .gform_fields {
        grid-row-gap: 30px !important;
    }

    #rto-popup .gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full) {
        padding-right: 0;
        margin-bottom: 30px;
    }

    #rto-popup .gform_wrapper.gravity-theme .ginput_complex:not(.ginput_container_address) span:not([style*="display:none"]):not(.ginput_full)~span:not(.ginput_full) {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
    }

    #rto-popup .gform_wrapper.gravity-theme .ginput_complex span {
        margin-bottom: 30px;
    }

    #rto-popup .button,
    #rto-popup .button:hover {
        background-color: var(--red);
        height: 42px;
        line-height: 42px;
        font-size: 16px;
        font-weight: normal;
        width: 146px;
        border: none;
    }
}

@media screen and (max-width: 567px) {
    #hero {
        padding-top: 92px;
    }

    .hero-content h1 {
        font-size: 3.4375em;
    }

    .hero-content h1 small {
        display: none;
    }

    .hero-content p {
        font-size: 1em;
        line-height: 1.74;
        margin-top: 14px;
        margin-bottom: 6px;
    }

    .hero-content p img {
        width: 170px;
        margin-top: 5px;
    }

    #learn .learn-content h3 {
        font-size: 1.875em;
        line-height: 1.33;
        margin-bottom: 50px;
    }

    #learn .learn-content p {
        display: none;
    }

    #learn .learn-slider {
        padding: 0 15px;
    }

    #learn .swiper-wrapper {
        flex-direction: column;
        row-gap: 40px;
    }

    #learn .swiper-slide {
        width: 100%;
        padding: 30px 24px 30px 21px;
        min-height: 140px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    #learn .item-head {
        width: 100%;
        position: relative;
        cursor: pointer;
    }

    #learn .item-head p {
        width: 100%;
        position: relative;
        font-size: 1.5625em;
        line-height: 1.48;
        padding-right: 35px;
    }

    #learn .item-head p:after {
        content: '';
        display: block;
        width: 16px;
        height: 11px;
        position: absolute;
        right: 0;
        top: 6px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-image: url(../../images/rtorevolution/down-arrow.png);
        background-image: -webkit-image-set(url("../../images/rtorevolution/down-arrow.png") 1x, url("../../images/rtorevolution/down-arrow@2x.png") 2x);

    }

    #learn .item-head.active p:after {
        transform: scaleY(-1);
    }

    #learn .item-content {
        display: none;
    }

    #learn .swiper-button-next,
    #learn .swiper-button-prev {
        display: none;
    }

    #authors h3 {
        font-size: 1.875em;
        line-height: 1.33;
    }

    #companies {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    #companies h3 {
        margin-bottom: 62px;
        font-size: 1.875em;
        line-height: 1.33;
    }

    #companies .company {
        padding: 0 16px 34px;
    }

    #companies .company-logo {
        margin-top: -14px;
    }

    #companies .company-details {
        margin-top: 69px;
    }

    #companies .company-details p {
        line-height: 2;
        font-size: 1em;
    }

    #companies .company-buttons {
        column-gap: 26px;
        margin-top: 58px;
    }

    #companies .button {
        padding: 0;
        height: 49px;
        line-height: 49px;
        width: 146px;
        font-size: 1em;
        padding-top: 0.15em;
    }

    #bar p {
        display: none;
    }

    #bar .button {
        width: 146px;
        height: 42px;
        border-radius: 21px;
        font-size: 1em;
        margin-left: 0;
    }
}