.ah-wrap {
    /*padding: 94px 0px 0px 0px;*/
    z-index:100;
}
.ah-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 100;
    box-shadow: 0 1px 5px rgb(0 0 0 / 30%);
}

.ah-header.scroll  {
    box-shadow: 0 1px 5px rgba(0, 0, 0,  0.3);
}
.ah-header.scroll .ah-header-top {
    display: none;
}
.ah-header.scroll .ah-header-logo {
    transition: all 0.3s linear;
    margin:0;
    transform: translateY(0) translateX(-60px) scale(0.75);
}
.ah-header-top {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    background: #111148;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 1% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1% 100%);
    padding: 0 20px;
    width: 68.5%;
    margin-left: auto;
}
.ah-header-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin: 0 -10px;
    padding: 10px 0;
    list-style: none;
}
.ah-header-info li.ah-header-info__item-inner {
    padding: 0 25px;
}
.ah-header-info li {
    padding: 0 10px;
}
.ah-header-info a {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.ah-header-info a i {
    font-size: 18px;
}
.ah-header-info a:hover {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    color: #e73a04;
}
.ah-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    margin-top: 0;

}
.ah-menu.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;

}

.ah-menu__item{cursor:pointer}

.ah-header-logo {
    display: inline-block;
    min-width: 380px;
    width: 380px;
    transform: translateY(-12px);
    margin: -16px 0px 0px 0px;
    padding: 0 40px;
    transition: all 0.3s linear;
}
.ah-header-logo img {
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}
.ah-menu__body {
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.ah-menu__list {
    list-style: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin: 0 -20px;
}

.ah-menu__list li.ah-menu__item-red a {
    background: #e73a04;
    color: #fff;
    font-weight: 400;
    padding: 5px 15px;
    border-radius: 4px;
}
.ah-menu__list li.ah-menu__item-red  {
    padding: 11px 15px 10.5px 15px;
}
.ah-menu__list li.ah-menu__item-red a:hover {
    background: #c13103;
}
.ah-menu__list li {
    padding: 16px 20px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.ah-menu__list li:hover {
    background: #111148;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.ah-menu__list li:hover a {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    color: #fff;
}
.ah-menu__list a {
    display: inline-block;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.ah-menu__list a:hover {


}
.ah-menu__icon {
    border-radius: 4px;
    padding: 10px;
    display: none;
    position: relative;
    margin-left: auto;
    width: 42px;
    height: 34px;
    right: 10px;
    cursor: pointer;
    z-index: 5;
    background-color: #111148;
}
.ah-icon-menu {
    width: 22px;
    height: 14px;
    position: relative;
}
.ah-icon-menu span {
    top: 6px;
    left: 0;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.ah-icon-menu span:first-child {
    top: 0;
}
.ah-icon-menu span:last-child {
    top: auto;
    bottom: 0;
}
.ah-icon-menu.active span {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}
.ah-icon-menu.active span:first-child {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 6px;
}
.ah-icon-menu.active span:last-child {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    bottom: 6px;
}

.menu-desktop-content,.menu-other-resources-desktop{display: block}
.menu-mobile-content{display: none;padding: 15px;}
.menu-other-resources-mobile{display: none;}

.menu-testimonials{
    margin-top: 15px;
    margin-bottom: 15px;
}

.testimonial-img{margin:7px;width:365px;height: auto;}

.u-tms-img{margin: auto;max-width: 76px;}

.client-access-switch{display: none;}

.client-access-btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

.client-access-block{max-width:350px;margin: auto;margin-top: 20px;}
#client-access-modal .tm-search-block{border-left: 1px solid #eee;display: block}
#client-access-modal .client-cabinet-block{border-right: 1px solid #eee;display: block}
#client-access-modal .mobile-hide{display: block}
#client-access-modal .mobile-show{display: block !important;}

.form-signin #inputEmail,#inputEmail2,
.form-signin #inputPassword,
#firstname,#tm-search-login {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .ah-header-info li.ah-header-info__item-inner {
        padding: 0 20px;
    }
}
@media (max-width:1100px){
    .ah-header-logo {
        min-width: 360px;
        width: 360px;
    }
}
@media (max-width:1050px){
    .ah-header-top {
        width: 66%;
    }
    .ah-header-info li.ah-header-info__item-inner {
        padding: 0 15px;
    }

}
@media (max-width: 991px) {
    .ah-header {
        padding: 10px 0;
    }
    .ah-header-top {
        display: none;
    }
    .ah-header-logo {
        transform: translateY(0);
        min-width: 280px;
        width: 280px;
        padding: 0 20px;
        margin:0;
    }
    .ah-header.scroll .ah-header-logo {
        transition: all 0.6s linear;
        transform: translateY(0) translateX(0) scale(1);
    }
    .ah-menu__list {
        padding: 0px 10px 0px 0px;
    }
    .ah-menu__item-5 {
        display: none;
    }
    .menu-other-resources-desktop{display: none}
    .menu-other-resources-mobile{display: block}

}

@media (max-width: 767px) {
    #client-access-modal .tm-search-block{border-left: none;}
    #client-access-modal .client-cabinet-block{border-right: none;display: none}
    #client-access-modal .mobile-hide{display: none !important;}
    .client-access-switch{display: block;}

    .u-tms-img{max-width: 55px;}

    .ah-menu__list li.ah-menu__item-red {
        padding: 5.5px 10px;
    }
    .ah-header-logo {
        padding: 0px 10px;
        min-width: 220px;
        width: 220px;
    }
    .ah-header.scroll .ah-header-logo {
        transform: translateY(0) translateX(0) scale(1);
    }
    .ah-header.scroll  {
        padding: 10px 0;
    }
    .ah-menu__body {
        padding: 0;
    }
    .ah-menu__list {
        margin: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .ah-menu__list li {
        padding: 10px
    }


}
@media (max-width:640px){

    .ah-header-logo {
        min-width: 170px;
        width: 170px;
    }
}
@media (max-width:600px){
    .ah-menu__list a {
        font-size: 13px;
    }
}
@media (max-width: 576px) {
    .ah-menu__icon {
        display: block;

    }
    .ah-menu__list a {
        font-size: 14px;
    }
    .ah-menu__body {
        justify-content: flex-start;
        position: fixed;
        width: 100%;
        top: -100%;
        left: 0;
        -webkit-transition: all 0.5s ease 0s;
        -o-transition: all 0.5s ease 0s;
        transition: all 0.5s ease 0s;
        padding: 10px 0px;
        background: #fff;
        box-shadow: 0 1px 5px rgba(0, 0, 0,  0.3);
    }
    .ah-menu__body.active {
        top: 0;
        -webkit-transition: all 0.5s ease 0s;
        -o-transition: all 0.5s ease 0s;
        transition: all 0.5s ease 0s;
    }
    .ah-menu__list {
        width: 80%;
        padding: 0 3px;
    }
    .ah-menu__list li:hover {
        transition: all 0.3s ease 0s;
        background: #111148;
    }

    .ah-menu__list li.ah-menu__item-red:hover a {
        background: #e73a04;
        color: #fff;
    }
    .ah-menu__list li:hover a {
        color: #fff;
        background: #111148;
    }
    .ah-menu__item-1{order: 1;}
    .ah-menu__item-2{order: 3;}
    .ah-menu__item-3{order: 2;}
    .ah-menu__item-4{order: 4;}
    .ah-menu__list li {
        flex: 0 1 50%;
        text-align: center;
        margin: 0px 0px 10px 0px;
        padding: 5px;
    }

    .ah-menu__list a {
        padding: 5px 8px;
    }
    .ah-menu__list li.ah-menu__item-red a {
        padding: 5px 8px;
    }
    .ah-header-logo {
        min-width: 230px;
        width: 230px;
    }

    .menu-desktop-content{display: none}
    .menu-mobile-content{display: block}
}
@media (max-width: 545px) {
    #why-us-modal-header {padding: 15px 15px 0px 15px;}
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.why-tm-block{font-family:"Roboto";font-size:14px;padding: 15px;color:#000;cursor: pointer}
.resources-block{font-family:"Roboto";font-size:14px;padding: 15px 7px;color:#000;cursor: pointer}
.why-tm-block:hover,.resources-block:hover{background: #FAE0B9}
.why-tm-block-header{color:#2f5597;font-weight: bold;margin-bottom: 15px;}
.resources-block-header{color:#2f5597;font-weight: bold;}
.resources-link{font-weight: bold;}

.switch-top {
    position: relative;
    height: 26px;
    width: 180px;
    margin: 12px 20px 0px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
}

.switch-top-label {
    position: relative;
    z-index: 2;
    float: left;
    width: 60px;
    line-height: 26px;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.35);
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}
.switch-top-label:active {
    font-weight: bold;
}

.switch-top-label-off {
    padding-left: 2px;
}

.switch-top-label-on {
    padding-right: 2px;
}

.switch-top-label-three {
    padding-right: 2px;
}


.switch-top-input,
.switch-ready-input{
    display: none;
}

.switch-ready-input:checked + .switch-top-label,
.switch-top-input:checked + .switch-top-label {
    font-weight: bold;
    color: rgba(0, 0, 0, 0.65);
    text-shadow: 0 1px rgba(255, 255, 255, 0.25);
    -webkit-transition: 0.15s ease-out;
    -moz-transition: 0.15s ease-out;
    -ms-transition: 0.15s ease-out;
    -o-transition: 0.15s ease-out;
    transition: 0.15s ease-out;
    -webkit-transition-property: color, text-shadow;
    -moz-transition-property: color, text-shadow;
    -ms-transition-property: color, text-shadow;
    -o-transition-property: color, text-shadow;
    transition-property: color, text-shadow;
}
.switch-ready-input:checked + .switch-top-label-on ~ .switch-top-selection,
.switch-top-input:checked + .switch-top-label-on ~ .switch-top-selection {
    left: 60px;
    /* Note: left: 50%; doesn't transition in WebKit */
}

.switch-ready-input:checked + .switch-top-label-three ~ .switch-top-selection,
.switch-top-input:checked + .switch-top-label-three ~ .switch-top-selection {
    left: 120px;
    /* Note: left: 50%; doesn't transition in WebKit */
}

.switch-ready-input:checked + .switch-top-label-off ~ .switch-top-selection,
.switch-top-input:checked + .switch-top-label-off ~ .switch-top-selection {
    left: 2px;
    /* Note: left: 50%; doesn't transition in WebKit */
}

.switch-red .switch-selection {
    background-color: #e73a04;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c13103), color-stop(100%, #e73a04));
    background-image: -webkit-linear-gradient(top, #c13103, #e73a04);
    background-image: -moz-linear-gradient(top, #c13103, #e73a04);
    background-image: -ms-linear-gradient(top, #c13103, #e73a04);
    background-image: -o-linear-gradient(top, #c13103, #e73a04);
    background-image: linear-gradient(top, #c13103, #e73a04);
}

.switch {
    position: relative;
    height: 26px;
    width: 250px;
    /*margin: 20px auto;*/
    background: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
}

.switch-label {
    position: relative;
    z-index: 2;
    float: left;
    width: 123px;
    line-height: 26px;
    font-size: 11px;
    /*color: rgba(255, 255, 255, 0.35);*/
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}
.switch-label:active {
    font-weight: bold;
}

.switch-label-off {
    padding-left: 2px;
}

.switch-label-on {
    padding-right: 2px;
}


.switch-input {
    display: none;
}

.switch-input:checked + .switch-label {
    font-weight: bold;
    /*color: rgba(0, 0, 0, 0.65);*/
    color: #fff;
    text-shadow: 0 1px rgba(255, 255, 255, 0.25);
    -webkit-transition: 0.15s ease-out;
    -moz-transition: 0.15s ease-out;
    -ms-transition: 0.15s ease-out;
    -o-transition: 0.15s ease-out;
    transition: 0.15s ease-out;
    -webkit-transition-property: color, text-shadow;
    -moz-transition-property: color, text-shadow;
    -ms-transition-property: color, text-shadow;
    -o-transition-property: color, text-shadow;
    transition-property: color, text-shadow;
}

.switch-input:checked + .switch-label-on ~ .switch-selection {
    left: 125px;
    /* Note: left: 50%; doesn't transition in WebKit */
}

.switch-selection {
    position: absolute;
    z-index: 1;
    top: 2px;
    left: 2px;
    display: block;
    width: 123px;
    height: 22px;
    border-radius: 3px;
    background-color: #65bd63;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9dd993), color-stop(100%, #65bd63));
    background-image: -webkit-linear-gradient(top, #9dd993, #65bd63);
    background-image: -moz-linear-gradient(top, #9dd993, #65bd63);
    background-image: -ms-linear-gradient(top, #9dd993, #65bd63);
    background-image: -o-linear-gradient(top, #9dd993, #65bd63);
    background-image: linear-gradient(top, #9dd993, #65bd63);
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
    -webkit-transition: left 0.15s ease-out;
    -moz-transition: left 0.15s ease-out;
    -ms-transition: left 0.15s ease-out;
    -o-transition: left 0.15s ease-out;
    transition: left 0.15s ease-out;
}

.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}

.menu-testimonial-block{
    margin-bottom: -15px;
    background: #B7BAC9;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.menu-link{color:#2f5597}

#resources-modal .hp-container{max-width: 1000px;}
