﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    /*padding-top: 50px;*/
    /*padding-bottom: 20px;*/
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
  
}
@media (min-width: 480px) {
    .ui-to-top {
        right: 20px;
        bottom: 20px;
    }
}

@media screen and (orientation: landscape) {
    #logo {
        background: url(logo1.png) no-repeat;
    }
}

@media screen and (orientation: portrait) {
    #logo {
        background: url(logo.png) no-repeat;
    }
}
@media screen and (max-device-width: 480px) and (orientation: portrait) {
    /* some CSS here */
}

/* #### Mobile Phones Landscape #### */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
    /* some CSS here */
}

/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-device-width: 640px) {
    /* some CSS here */
    header {
        display: none;
    } 
}

/* #### iPhone 4+ Portrait or Landscape #### */
@media screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    /* some CSS here */
}

/* #### Tablets Portrait or Landscape #### */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    /* some CSS here */
  
}
@media (max-width: 870px) {
    #header_block {
        display: none;
    }
    #tep {
        display: marker;
    }
}

    /* #### Desktops #### */
    @media screen and (min-width: 1024px) {
        /* some CSS here */
    }
@media screen and (min-width: 768px) and (max-width: 1280px) {
    /* some CSS here */
    #tep_logo {
        display: none;
    } 

}

    @media all and (max-device-width: 400px) {
        /* styles for devices with a maximum width of 400px and less
       Changes only on device orientation */
    }

    @media all and (max-width: 400px) {
        /* styles for target area with a maximum width of 400px and less
       Changes on device orientation , browser resize */
    }


    /*Пример. Стиль для устройств с альбомной ориентацией или минимальной шириной 480 пикселов.
*/
    @media all and (orientation: landscape), all and (min-width: 480px) {
    }

    .header-center {
        /*max-width: 1440px;*/
        width: 100%;
        margin: 0 auto;
        /* padding: 15px 10px;*/
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }

    .header-block {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    /*.phone-div {
    max-width: 190px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0px 10px 0px 20px;
}

.phone-call:first-child {
    margin-bottom: 15px;
}

.phone-call {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.phone-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    max-width: 146px;
    width: 100%;
    margin-left: 18px;
}

    .phone-in p {
        font-size: 9px;
        font-weight: 400;
        letter-spacing: 2px;
        color: #455a64;
    }

    .phone-in a {
        font-size: 16px;
        font-weight: 400;
        color: #455a64;
    }

        .phone-in a b {
            font-weight: 600;
        }
*/

    /*.address-block {
    max-width: 271px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px 10px;
}

.address-first {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.address {
    margin-top: 3px;
    margin-left: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.adr-mob {
    display: none;
}

.address span {
    font-size: 14px;
    font-weight: 600;
    color: #455a64;
   
    text-transform: uppercase;
   
}*/
    /*.menu__link-count {
    position: absolute;*/
    /*  left: -12px;
    top: -5px;*/
    /*right: -52px;
    top: 15px;
    color: white;
    font-family: 'Roboto';
    font-size: 15px;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e64437;*/
    /* box-shadow: -1px 2px 5px 0px rgba(0,0,0,0.75); */
    /*}*/
    .ui-user {
        width: 25px;
        height: 25px;
        font-size: 10px;
        line-height: 22px;
        border-radius: 50%;
        position: fixed;
        right: 70px;
        top: 5px;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        z-index: 19999;
        transition: .3s all ease;
        /*    -webkit-transform: translateY(100px);
    transform: translateY(100px);
*/ border: 1px solid #ebebeb;
        font-family: 'Roboto';
        color: white;
        background-color: #FFA500;
        /* #e64437*/
    }

    .ui-user_click {
        width: 25px;
        height: 25px;
        font-size: 10px;
        line-height: 23px;
        border-radius: 50%;
        position: fixed;
        right: 28px;
        bottom: 95px;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        z-index: 20;
        transition: .3s all ease;
        /*    -webkit-transform: translateY(100px);
    transform: translateY(100px);
*/ border: 1px solid #ebebeb;
        font-family: 'Roboto';
        color: white;
        background-color: #FF8C00;
    }

    .ui-Request-Payment {
        width: 25px;
        height: 25px;
        font-size: 10px;
        line-height: 22px;
        border-radius: 50%;
        position: fixed;
        right: 10px;
        top: 25%;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        z-index: 19999;
        transition: .3s all ease;
        /*    -webkit-transform: translateY(100px);
    transform: translateY(100px);
*/ border: 1px solid #ebebeb;
        font-family: 'Roboto';
        color: white;
        background-color: #2684be;
        /* #e64437*/
    }

    .ui-Request-Amount {
        width: 25px;
        height: 25px;
        font-size: 10px;
        line-height: 22px;
        border-radius: 50%;
        position: fixed;
        right: 10px;
        top: 30%;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        z-index: 19999;
        transition: .3s all ease;
        /*    -webkit-transform: translateY(100px);
    transform: translateY(100px);
*/ border: 1px solid #ebebeb;
        font-family: 'Roboto';
        color: white;
        background-color: #2684be;
        /* #e64437*/
    }

    .ui-CallBack {
        width: 25px;
        height: 25px;
        font-size: 10px;
        line-height: 22px;
        border-radius: 50%;
        position: fixed;
        right: 10px;
        top: 35%;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        z-index: 19999;
        transition: .3s all ease;
        /*    -webkit-transform: translateY(100px);
    transform: translateY(100px);
*/ border: 1px solid #ebebeb;
        font-family: 'Roboto';
        color: white;
        background-color: #2684be;
        /* #e64437*/
    }

    .ui-to-top {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 46px;
        border-radius: 50%;
        position: fixed;
        right: 15px;
        bottom: 15px;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        z-index: 20;
        transition: .3s all ease;
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        border: 2px solid #ebebeb;
    }

        .ui-to-top,
        .ui-to-top:active,
        .ui-to-top:focus {
            color: #000;
            background: #c0bcb9;
        }

            .ui-to-top:hover {
                color: #FFF;
                background: #2684be;
                text-decoration: none;
            }

            .ui-to-top:focus {
                outline: 0;
            }

            .ui-to-top.active {
                -webkit-transform: translateY(0);
                transform: translateY(0);
            }

    .mobile .ui-to-top,
    .tablet .ui-to-top {
        display: none !important;
    }



    td.cvu_flex {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    p.cvu_link {
        display: block;
        float: left;
        width: 30%;
        /* width: 20%;*/
      /*  max-width: 400px;*/
/*        min-width: 300px;*/
          min-width: 220px;
        /*  height: 120px;*/
        /*margin: 10px;*/
        margin: 2px;
        word-wrap: break-word;
    }

        p.cvu_link a {
            display: block;
            float: left;
            border: 3px solid #eceff1 !important;
            border-radius: 10px;
            width: 100%;
            /*  line-height: 120px;*/
            line-height: 96px;
            /* height: 120px;*/
            font-size: 12px;
            font-weight: 200;
            color: #1565c0 !important;
            box-shadow: 4px 4px 7px rgba(69,90,100,.2);
            transition: .2s;
            /* text-align: center;*/
        }

            p.cvu_link a:hover {
                display: block;
                float: left;
                border: 2px solid blue !important;
                border-radius: 10px;
                width: 100%;
                /* line-height: 120px;*/
                line-height: 96px;
                /* height: 120px;*/
                font-size: 12px;
                font-weight: 200;
                color: blue !important;
                box-shadow: 4px 4px 7px rgba(69,90,100,.2);
                transition: .2s;
            }

            p.cvu_link a em {
                display: block;
                position: absolute;
                float: left;
                color: #1565c0;
                /*margin: 12px 0px 0px 8px;*/
                margin: 8px 0px 0px 8px;
                font-size: 56px;
                line-height: 96px;
                width: 96px;
                height: 96px;
                text-align: center;
                text-decoration: none;
                font-family: 'Material Icons';
                font-weight: normal;
                font-style: normal;
                text-transform: none;
                letter-spacing: normal;
                word-wrap: normal;
                white-space: nowrap;
                direction: ltr;
                -webkit-font-smoothing: antialiased;
                text-rendering: optimizeLegibility;
                -moz-osx-font-smoothing: grayscale;
                font-feature-settings: 'liga';
                -webkit-touch-callout: none;
                -webkit-user-select: none;
                -khtml-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }

            p.cvu_link a strong {
                display: inline-block;
                /*  line-height: 1.2;*/
                line-height: 1;
                vertical-align: middle;
                /*  margin-left: 112px;*/
                margin-left: 96px;
                margin-right: 12px;
            }

    /*----------------------HEADER-----------------------*/
    .div_flex {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

div.div_link {
    display: block;
    /*  float: left;*/
    /*width: 30%;*/
    /*  width: 18%;*/
    max-width: 420px;
    /*min-width: 300px;*/
    min-width: 200px;
    /*  height: 120px;*/
    /*   margin: auto ;*/
    margin-bottom: 4px;
    margin-top: 3px;
    /* margin-left: 10px;*/
    margin-left: 10px;
    margin-right: auto;
    color: white;
    padding: 7px;
    /* margin: 5px;*/
    /*word-wrap: break-word;*/
}

    /*div.div_link a {
        display: block;
        float: left;
        border: 3px solid #eceff1 !important;
        border-radius: 10px;
        width: 100%;*/
    /*  line-height: 120px;*/
    /*line-height: 96px;*/
    /* height: 120px;*/
    /*font-size: 12px;
        font-weight: 200;
        color: #1565c0 !important;
        box-shadow: 4px 4px 7px rgba(69,90,100,.2);
        transition: .3s;*/
    /* text-align: center;*/
    /*}

        div.div_link a:hover {
            display: block;
            float: left;
            border: 3px solid blue !important;
            border-radius: 10px;
            width: 100%;*/
    /* line-height: 120px;*/
    /*line-height: 96px;*/
    /* height: 120px;*/
    /*font-size: 14px;
            font-weight: 200;
            color: blue !important;
            box-shadow: 4px 4px 7px rgba(69,90,100,.2);
            transition: .3s;
        }

        div.div_link a em {
            display: block;
            position: absolute;
            float: left;
            color: #1565c0;*/
    /*margin: 12px 0px 0px 8px;*/
    /*margin: 8px 0px 0px 8px;
            font-size: 56px;
            line-height: 96px;
            width: 96px;
            height: 96px;
            text-align: center;
            text-decoration: none;
            font-family: 'Material Icons';
            font-weight: normal;
            font-style: normal;
            text-transform: none;
            letter-spacing: normal;
            word-wrap: normal;
            white-space: nowrap;
            direction: ltr;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            -moz-osx-font-smoothing: grayscale;
            font-feature-settings: 'liga';
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        div.div_link a strong {
            display: inline-block;*/
    /*  line-height: 1.2;*/
    /*line-height: 1;
            vertical-align: middle;*/
    /*  margin-left: 112px;*/
    /*margin-left: 96px;
            margin-right: 12px;
        }*/

