* {
    box-sizing: border-box;
}

body {
    background: #eef2f5;
}

html, body, h1, h2, h3, ul, p {
    margin: 0;
    padding: 0;
    font-family: 'MyriadProRegular', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #1e5daa;
}

h1 {
    font-weight: bold;
    font-size: 24px;
}

h2 {
    font-weight: 600;
    font-size: 30px;
}

ul {
    list-style: none;
}

a {
    font-family: 'MyriadProRegular', Arial, Helvetica, sans-serif;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn-reset {
    color: #1e5daa;
    background: none;
    font-size: 14px;
    border: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    cursor: pointer;
    transition: transform .2s linear;
}

.btn-reset:hover {
    transform: scale(1.1, 1.1);
}

.contain {
    position: relative;
    width: 1300px;
    margin: 0 auto;
    z-index: 2;
}

.contain__bg {
    background-color: white;
}

.mob-menu {
    position: fixed;
    top: 0;
    left: -320px;
    height: 100vh;
    background-color: #ffffff;
    border-right: 1px solid #787878;
    width: 320px;
    z-index: 5;
    overflow-y: auto;
    transition: left .2s ease-in-out;
}

.mob-menu_open {
    left: 0;
}

.mob-menu__header {
    display: flex;
    padding-top: 70px;
}

.mob-menu__name {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    margin: 5px auto 5px 20px;
}

.mob-menu__close {
    position: relative;
    width: 30px;
    height: 30px;
    margin-right: 20px;
    margin-left: auto;
    cursor: pointer;
}

.mob-menu__close-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    display: inline-block;
    background-color: #000;
    transition: transform .2s ease-in-out;
}

.mob-menu__close-line:nth-child(1) {
    transform: rotate(45deg);
}

.mob-menu__close-line:nth-child(2) {
    transform: rotate(-45deg);
}

.mob-menu__close:hover > .mob-menu__close-line:nth-child(1), .mob-menu__close:active > .mob-menu__close-line:nth-child(1) {
    transform: rotate(135deg);
}

.mob-menu__close:hover > .mob-menu__close-line:nth-child(2), .mob-menu__close:active > .mob-menu__close-line:nth-child(2) {
    transform: rotate(45deg);
}

.mob-menu__list {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.mob-menu__item {
    margin-bottom: 10px;
    border-bottom: 1px solid #939598;
    padding-bottom: 10px;
}

.mob-menu__cont {
    display: flex;
    justify-content: space-between;
}

.mob-menu__link {
    display: block;
    color: #000000;
    font-size: 20px;
    transition: text-shadow .2s ease-in-out;
}

.mob-menu__link:hover,.mob-menu__link:active  {
    text-shadow: 3px 1px 6px #000000;
}

.mob-menu__link_arrow {
    position: relative;
    padding-right: .5vw;
}

.mob-menu__link_arrow::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 9px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #1c2b47;
    border-top: 2px solid #1c2b47;
    transform: rotate(135deg);
    transition: border-top .2s ease-in-out, border-right .2s ease-in-out;
}

.mob-submenu {
    display: none;
    margin-top: 5px;
    margin-left: 10px;
}

.mob-submenu_open {
    display: block;
    animation: showBlock 1s linear forwards;
}

@keyframes showBlock {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

.mob-submenu__item {
    margin-bottom: 5px;
}

.mob-submenu__link {
    color: #100604;
    transition: text-shadow .2s ease-in-out;
}

.mob-submenu__link:hover {
    text-shadow: 1px 2px 6px #100604;
}

.header__top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    background: #3a3f4c;
    z-index: 100;
}

.header__container {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}

.header__burger {
    position: relative;
    display: block;
    width: 40px;
    height: 35px;
    margin-left: 0;
    margin-top: 12px;
    margin-right: 3px;
    cursor: pointer;
}

.burger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    display: inline-block;
    background-color: #ffffff;
    transition: width .2s ease-in-out;
}

.burger__line:nth-child(1){
    top: 0;
}

.burger__line:nth-child(2){
    top: 11px;
}

.header__burger:hover > .burger__line:nth-child(2), .header__burger:active > .burger__line:nth-child(2){
    width: 80%;
}

.burger__line:nth-child(3){
    bottom: 9px;
}

.header__burger:hover > .burger__line:nth-child(3), .header__burger:active > .burger__line:nth-child(3){
    width: 60%;
}

.menu {
    margin-left: 7px;
    margin-top: 5px;
}

.menu__item {
    position: relative;
}

.menu__list {
    display: flex;
}

.menu__link {
    position: relative;
    display: block;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: .1px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    transition: text-shadow .2s ease-in-out;
}

.menu__link_arrow::after {
    content: '';
    position: absolute;
    left: 45%;
    bottom: 9px;
    width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #a1d1e8;
    transition: border-top .2s ease-in-out;
}

.menu__link:hover {
    text-shadow: 1px 2px 6px #ffffff;
}

.menu__item:hover > .submenu{
    display: block;
}

.menu__link_arrow:hover::after {
    border-top: 5px solid #ec7c7c;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #efefef;
    box-shadow: 0 20px 20px -20px #000 inset;
    margin-top: 2px;
    margin-left: -10px;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 0;
    padding-bottom: 10px;
    z-index: 10;
}

.mob-submenu__item {
    margin-bottom: 3px;
    padding-left: 10px;
}

.submenu__link {
    display: block;
    font-weight: bold;
    color: #000000;
    font-size: 18px;
    white-space: nowrap;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 20px;
    transition: color .2s ease-in-out;
}

.submenu__item:not(:last-child) {
    border-bottom: 1px solid #999999;
}

.submenu__link:hover {
    color: #6581b2;
}

.header__dt {
    margin-left: auto;
    margin-right: 20px;
    margin-top: 14px;
    color: #fff;
}

.header__spec {
    width: 41px;
    background: url(../images/special.png) no-repeat;
    margin-right: 20px;
    margin-top: 10px;
    transition: transform .2s ease-in-out;
}

.header__spec:hover {
    transform: scale(1.1)
}

.header__search {
    width: 36px;
    background: url(../images/search_bt.png) no-repeat;
    margin-right: 20px;
    margin-top: 10px;
    transition: transform .2s ease-in-out;
}


.header__search:hover {
    transform: scale(1.1)
}

.header__search-div {
    position: absolute;
    top: 50px;
    right: 0px;
    display: none;
    z-index: 99;
    height: 50px;
    width: 350px;
    background-color: #3a3f4c;
    border-radius: 0 0 5px 5px;
    padding: 10px;
}

.header__search-field {
    width: 260px;
    height: 25px;
    margin-right: 10px;
}

.header__search-ent {
    border: 1px solid #ffffff;
    background-color: #3a3f4c;
    color: #ffffff;
    font-size: 12px;
    width: 70px;
    height: 30px;
    cursor: pointer;
}

.header__login {
    position: relative;
    width: 25px;
    height: 35px;
    background: url(../images/icon-user.png) no-repeat;
    background-size: contain;
    margin-right: 20px;
    margin-top: 13px;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

.header__login:hover {
    transform: scale(1.1);
}

.header__login:hover > .login__menu {
    display: block;
}

.login__menu {
    display: none;
    position: absolute;
    top: 30px;
    right: -20px;
    border: 1px solid #000f45;
    background-color: #8d95a3;
}

.login__item:not(:last-child) {
    border-bottom: 1px solid #000f45;
}

.login__link {
    padding: 5px;
    display: block;
    color: #000f45;
    background-color: #eaf0f3;
    transition: background-color .2s ease-in-out;
}

.login__link:hover {
    background-color: #8d95a3;
}



.hero {
    position: relative;
    margin-top: 50px;
    width: 100%;
    height: calc(100vh - 50px);
    /*margin-bottom: 64px;*/
    overflow: hidden;
}

.hero__page {
    height: 322px;
}

.hero__container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero__top {
    display: flex;
    flex-wrap: nowrap;
}

.hero__logo {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 11px;
    padding-left: 10px;
}

.hero__logo-add {
    padding-top: 7px;
    margin-right: 10px;
}

.hero__logo-add img {
    border-radius: 10px;
    transform: scale(0.9);
}

.hero__logo-url {
    margin-right: 45px;
}

.hero__logo-url img {
    transition: filter .2s ease-in-out;
}

.hero__logo-url:hover img {
    filter: drop-shadow(5px 5px 5px #222);
}

.hero__logo-text {
    color: #fff;
    margin-top: 15px;
}

.hero__logo-text span {
    font-size: 16px;
}

.hero__icons {
    margin-left: auto;
    margin-right: 10px;
}

.icons-top {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 20px;
    margin-bottom: 30px;
}

.famrt-white {
    display: block;
    width: 158px;
    height: 127px;
    background: url(../images/famrt1.png) no-repeat;
    transition: background .2s ease-in-out;
    margin-right: 30px;
}

.famrt-black {
    display: block;
    width: 158px;
    height: 127px;
    background: url(../images/famrt1_on.png) no-repeat;
    transition: background .2s ease-in-out;
    margin-right: 30px;
}

.mintrans-white {
    display: block;
    width: 180px;
    height: 127px;
    background: url(../images/mintrans1.png) no-repeat;
    transition: background .2s ease-in-out;
}

.mintrans-black {
    display: block;
    width: 180px;
    height: 127px;
    background: url(../images/mintrans1_on.png) no-repeat;
    transition: background .2s ease-in-out;
}

.famrt-white:hover {
    background: url(../images/famrt1_on3.png) no-repeat;
}

.famrt-black:hover {
    background: url(../images/famrt1_on3.png) no-repeat;
}

.mintrans-white:hover {
    background: url(../images/mintrans1_on3.png) no-repeat;
}

.mintrans-black:hover {
    background: url(../images/mintrans1_on3.png) no-repeat;
}

.icons-action {
    display: flex;
    flex-wrap: wrap;
    width: 400px;
}

.icons-action__item:nth-child(2n-1) {
    margin-right: 80px;
}

.icons-action__item:nth-child(3) {
    margin-right: 50px;
}

.dip-white {
    display: block;
    width: 150px;
    height: 127px;
    background: url(../images/Diplom.png) no-repeat;
    transition: background .2s ease-in-out;
}

.dip-white:hover {
    background: url(../images/Diplom_on1.png) no-repeat;
}

.ulm-white {
    display: block;
    width: 150px;
    height: 127px;
    background: url(../images/ULM.png) no-repeat;
    transition: background .2s ease-in-out;
}

.ulm-white:hover {
    background: url(../images/ULM_on1.png) no-repeat;
}

.regtg-white {
    display: block;
    width: 150px;
    height: 127px;
    background: url(../images/RegShip_tg.png) no-repeat;
    transition: background .2s ease-in-out;
}

.regtg-white:hover {
    background: url(../images/RegShip_tg_on1.png) no-repeat;
}

.regtm-white {
    display: block;
    width: 150px;
    height: 127px;
    background: url(../images/RegShip_tm.png) no-repeat;
    transition: background .2s ease-in-out;
}

.regtm-white:hover {
    background: url(../images/RegShip_tm_on1.png) no-repeat;
}

.regei-white {
    display: block;
    width: 150px;
    height: 127px;
    background: url(../images/RegShip_ei.png) no-repeat;
    transition: background .2s ease-in-out;
}

.regei-white:hover {
    background: url(../images/RegShip_ei_on1.png) no-repeat;
}

.ports {
    margin-top: auto;
    margin-bottom: 40px;
}

.ports__list {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 auto;
}

.ports__item {
    width: 17%;
}

.ports__link {
    display: block;
    opacity: 0.9;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    padding: 10% 0 10% 10%;
    transition: text-shadow .2s ease-in-out;
}

.ports__link:hover {
    text-shadow: 1px 2px 10px #fff;
}

.ports__link_b1 {
    background: #353a48;
}
.ports__link_b2 {
    background: #2c303c;
}
.ports__link_b3 {
    background: #242732;
}
.ports__link_b4 {
    background: #2c303c;
}
.ports__link_b5 {
    background: #353a48;
}
.ports__link_b6 {
    background: #454a57;
}

.main__container {
    /*padding-top: 20px;*/
    min-height: 60vh;
}

.news__header {
    color: #3a3f4c;
    font-size: 36px;
    padding-top: 20px;
}

.news__container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.mainnews {
    flex: 0 0 74%;
    display: flex;
    flex-wrap: nowrap;
    background-color: #3a3f4c;
    margin-bottom: 20px;
    order: 1;
}

.mainnews__image {
    flex: 0 0 70%;
}

.mainnews__info {
    flex: 0 0 30%;
    padding: 20px;
    padding-top: 18px;
}

.mainnews__name {
    display: block;
    color: #fff;
    font-size: 18px;
    letter-spacing: .7px;
    margin-bottom: 18px;
    transition: text-shadow .2s ease-in-out;
}

.mainnews__name:hover {
    text-shadow: 1px 2px 6px #fff;
}

.mainnews__text {
    color: #fff;
    font-size: 16px;
    letter-spacing: 0;
    margin-bottom: 18px;
}

.mainnews__date {
    color: #fff;
    font-size: 12px;
    letter-spacing: .3px;
}

.publish {
    flex: 0 0 26%;
    padding-left: 20px;
    padding-top: 20px;
    margin-bottom: 20px;
    order: 2;
}

.publich__header {
    font-size: 18px;
    color: #3a3f4c;
    margin-bottom: 20px;
}

.publish__list {
    border-top: 1px solid #e8e9ec;
}

.publish__link {
    display: block;
    color: #3a3f4c;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -.2px;
    text-decoration: none;
    border-bottom: 1px solid #e8e9ec;
    padding-top: 35px;
    padding-bottom: 35px;
    transition: text-shadow .2s ease-in-out;
}

.publish__link:hover {
    text-shadow: 1px 2px 6px #3a3f4c;
}

.othernews {
    flex: 0 0 74%;
    order: 3;
}

.othernews__list {
    display: flex;
}

.othernews__item:not(:last-child) {
    margin-right: 20px;
}

.othernews__link {
    display: block;
    color: #3a3f4c;
    font-size: 18px;
    letter-spacing: .7px;
    margin-bottom: 18px;
    transition: text-shadow .2s ease-in-out;
}

.othernews__link:hover {
    text-shadow: 1px 2px 6px #3a3f4c;
}

.othernews__text {
    color: #1c2b47;
    font-size: 16px;
    letter-spacing: 0;
    margin-bottom: 18px;
}

.othernews__date {
    color: #8d95a3;
    font-size: 12px;
    letter-spacing: .3px;
}

.carousels__banners {
    margin-bottom: 100px !important;
}

.f-button svg {
    width: 50px !important;
    height: 90px !important;
}

.is-prev {
    width: 50px !important;
    height: 90px !important;
    left: 0px !important;
    top: 50% !important;
}

.is-next {
    width: 50px !important;
    height: 90px !important;
    right: 0px !important;
    top: 50% !important;
}

.carousels__link {
    display: block;
}

.carousels__img {
    margin: 0 auto;
    display: block;
}

.carousels__podved {
    margin-bottom: 100px;
}

.f-carousel__slide_podved {
    width: 25%;
}

.f-carousel__slide_podved a{
    color: #3a3f4c;
    transition: text-shadow .2s ease-in-out;
}

.f-carousel__slide_podved a:hover {
    text-shadow: 1px 2px 6px #3a3f4c;
}

.banners {
    margin-bottom: 40px;
}

.banners__header {
    color: #3a3f4c;
    font-size: 36px;
    margin-bottom: 20px;
}

.banners__list {
    display: flex;
    flex-wrap: wrap;

}

.banners__item {
    width: 32%;
    margin-bottom: 30px;
}

.banners__item:not(:nth-child(3n)) {
    margin-right: 2%;
}

.banners__link {
    color: #3a3f4c;
    padding-left: 80px;
    display: block;
    height: 55px;
    width: 80%;
    transition: text-shadow .2s ease-in-out, filter .2s ease-in-out;
}

.banners__link:hover {
    filter: grayscale(100%);
    text-shadow: 1px 2px 6px #3a3f4c;
}

.footer {
    position: relative;
    background: #3a3f4c;
    z-index: 2;
}

.footer__container {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 15px;
    padding-bottom: 20px;
}

.footer__info {
    flex: 0 0 33%;
    margin-right: 25px;
}

.footer__info-form {
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    margin-bottom: 5px;
}

.footer__info-name {
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: .6px;
    margin-bottom: 20px;
}

.footer__info-address {
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: .4px;
    margin-bottom: 5px;
}

.footer__info-address a {
    color: #fff;
    font-size: 14px;
    transition: text-shadow .2s ease-in-out;
}

.footer__info-address a:hover {
    text-shadow: 1px 2px 6px #fff;
}

.footer__rules {
    flex: 0 0 20%;
}

.footer__rules-link {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    transition: text-shadow .2s ease-in-out;
}

.footer__rules-link:hover {
    text-shadow: 1px 2px 6px #fff;
}

.footer__icons {
    margin-left: auto;
}

.footer__icons-port {
    display: block;
    margin-bottom: 20px;
    transition: filter .2s ease-in-out;
}

.footer__icons-port:hover {
    filter: grayscale(100%);
}

.footer__icons-marine {
    display: block;
    transition: filter .2s ease-in-out;
}

.footer__icons-marine:hover {
    filter: grayscale(100%);
}

.pagemenu {
    width: 98%;
    padding-bottom: 10px;
    border-bottom: 1px solid #bebebe;
    margin-bottom: 10px;
}

.pagemenu__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 10px;
}

.pagemenu__item {
    margin-right: 20px;
    margin-bottom: 20px;
}

.pagemenu__link {
    display: block;
    box-sizing: border-box;
    font-size: 18px;
    color: #227ad3;
    padding: 5px 0;
    transition: color .2s ease-in-out, border-bottom .2s ease-in-out;
}

.pagemenu__link:hover, .pagemenu__link_active {
    color: #3a3f4c;
    padding-bottom: 3px;
    border-bottom: 2px solid #3a3f4c;
}

.home {
    padding-top: 10px;
    min-height: 60vh;
}

.home__header {
    position: relative;padding-left: 20px;
}

.home__header h2 {
    font-size: 24px;
    color: #3a3f4c;
}

.main p {
    margin-bottom: 10px;
}

@media (max-height: 700px) {
    .hero {
        height: auto;
        min-height: calc(100vh - 50px);
    }
}

@media (max-width: 1340px) {
    .contain {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        font-size: 20px;
    }

    .hero__logo-text span {
        font-size: 14px;
    }

    .ports__link {
        font-size: 20px;
    }
}

@media (max-width: 1000px) {
    .menu {
        display: none;
    }

    .hero__top {
        flex-wrap: wrap;
    }

    .hero__logo {
        width: 100%;
    }

    .hero__icons {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

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

    .icons-action {
        justify-content: center;
        width: 100%;
    }

    .icons-action__item:nth-child(2n-1) {
        margin-right: 0
    }
    
    .icons-action__item {
        margin-right: 0;
    }

    .icons-action__item {
        margin-right: 0;
    }

    .ports__list {
        flex-wrap: wrap;
    }

    .ports__item {
        width: 33.3%;
    }

    .ports__link {
        padding: 20px 0 20px 20px;
    }

    .mainnews, .othernews {
        flex: 0 0 100%;
    }

    .publish {
        display: none;
    }

    .f-carousel__slide_podved {
        width: 50%;
    }

    .banners__item {
        width: 49%;
    }

    .banners__link {
        line-height: 16px;
    }
}

@media (max-width: 620px) {
    .famrt-white {
        width: 100px;
        height: 80px;
        background-size: contain;
    }

    .mintrans-white {
        width: 120px;
        height: 80px;
        background-size: contain;
    }

    .dip-white, .ulm-white, .regtg-white, .regtm-white, .regei-white {
        width: 100px;
        height: 80px;
        background-size: contain;
    }

    .ports__link {
        font-size: 16px;
    }

    .mainnews {
        flex-wrap: wrap;
    }

    .mainnews__image {
        flex: 0 0 100%;
    }

    .mainnews__info {
        flex: 0 0 100%;
    }

    .othernews__list {
        flex-wrap: wrap;
    }

    .othernews__item:not(:last-child) {
        margin-right: 0;
    }


    .othernews__item {
        margin-bottom: 40px;
    }

    .f-carousel__slide_podved {
        width: 100%;
    }

    .banners__item:not(:nth-child(3n)) {
        margin-right: 0;
    }

    .banners__item {
        width: 100%;
    }

    .footer__container {
        flex-wrap: wrap;
    }

    .footer__info, .footer__rules, .footer__icons {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    @media (max-width: 480px) {
        .header__dt {
            display: none;
        }

        .header__spec {
            margin-left: auto;
        }

        .hero__logo {
            flex-wrap: wrap;
            padding-left: 0;
        }

        .hero__logo a {
            width: 100%;
            text-align: center;
        }

        .hero__logo-text {
            width: 100%;
            text-align: center;
        }

        .ports__item {
            width: 50%;
        }
    }

}