﻿.km-generic-modal a, .km-generic-modal a:hover {
    text-decoration: none;
}

.km-generic-modal {
    width: 100%;
    padding-bottom: 0;
    position: fixed;
    bottom: 0;
    /*background: #fff;*/
    /*border-radius: 3px 3px 0 0;*/
    z-index: 1039;
    font-size: 14px;
    line-height: 24px;
    font-family: Open Sans,Tahoma,Arial,Helvetica,sans-serif;
    -webkit-transform: translateY(calc(100% + 76px));
    transform: translateY(calc(100% + 76px));
    -webkit-transition-duration: .15s;
    transition-duration: .15s;
    /*margin: 0 auto; not working*/
}

.km-page-overlay {
    position: fixed;
    z-index: 1035;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: #000;
    opacity: 0;
    will-change: width,height,opacity;
    -webkit-tap-highlight-color: transparent;
}

.km-page-overlay.isVisible {
    -webkit-animation-name: overlay;
    animation-name: overlay;
    -webkit-animation-duration: .15s;
    animation-duration: .15s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

@keyframes overlay {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    1% {
        width: 100%;
        height: 100%;
        opacity: 0;
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: .7;
    }
}



.km-generic-modal-header {
    padding: 16px;
    border-bottom: 1px solid rgba(28,24,25,.1);
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    color: #888b94;
}

.generic-modal-header__label {
    -webkit-box-flex: 1;
    flex-grow: 1;
    color: #1c1819;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.generic-modal-header__control+.generic-modal-header__label {
    margin-left: 10px;
}

.categories-modal-list {
    padding-bottom: 6px;
}

.km-generic-modal ul {
    font-size: 0;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.km-generic-modal.isVisible {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
}

.km-modal-wrapper {
    max-width: 762px;
    /*margin: 0 auto;*/
    background-color: #fff;
    border-radius: 3px 3px 0 0;
}

.categories-modal-item {
    font-size: 14px;
    position: relative;
}

.categories-modal-item__link {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 10px 16px;
    color: #888b94;
}

.categories-modal-item__label {
    -webkit-box-flex: 1;
    flex-grow: 1;
    color: #2a81dd;
    margin-right: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.categories-modal-item:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 16px;
    height: 1px;
    background: rgba(28,24,25,.1);
}


.km-generic-modal button {
    background-color: transparent;
    border: none;
}

.fi-arrow-left:before {
    content: "\ea03";
}

.fi-arrow-small-right:before {
    content: "\ea05";
}

.fi-close-big:before {
    content: "\ea0f";
}

.fi:before, [class*=" fi-"]:before, [class^=fi-]:before {
    font-family: font-icon;
    display: inline-block;
    vertical-align: top;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: none;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 24px;
}

/*special for matol */

@font-face {
	font-family: "Open Sans";
	src: url(/resources/fonts/OpenSans-Regular.woff2);
}

@font-face {
	font-family: "font-icon";
	src: url(/resources/fonts/font-icon.woff2);
}


.km-generic-modal {
   margin-left: -15px;
   margin-right: -15px;
}

.km-modal-wrapper {
   width: 100% !important;
   max-width: 100% !important;
}

@media (min-width: 768px){
     .km-generic-modal {
        width: 600px !important;
     }
}


@media (min-width: 992px) {
     .km-generic-modal {
         width: 748px !important;
     }
}

@media (min-width: 1200px) {
    .km-generic-modal {
        width: 936px !important;
    }
}
