/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
@import url("https://fonts.googleapis.com/css?family=Exo:300,400,400i,500,500i,600,700|Roboto:300,400,400i,500,500i,700&display=swap");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

*{
    outline:none !important;

}

a, a:hover, a:focus, a:active{
    text-decoration: none !important;
}
body {
    font-family: "Exo", sans-serif;
}

.flex-container {
    position: relative;
    width: 100%;
    display: -webkit-flex;
    display: flex;
    overflow: hidden;
}



.flex-title {
    color: #ffffff;
    position: relative;
    font-size: 30px;
    -webkit-transition: all 500ms ease .1s;
    -moz-transition: all 500ms ease .1s;
    -ms-transition: all 500ms ease .1s;
    -o-transition: all 500ms ease .1s;
    transition: all 500ms ease .1s;
    text-align: center;
    top: 50%;
    font-weight: 600;
    line-height: 40px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.flex-title span {
    position: relative;
    display: inline-block;
    text-align: left;
}

.flex-title span:before {
    position: absolute;
    background: #ffd600;
    top: 7px;
    left: -21px;
    width: 9px;
    height: 65px;
    content: "";
    z-index: 0;
}

.flex-about {
    position: absolute;
    width: 50%;
    bottom:0;
    border-radius: 0;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    padding:30px;
    background: rgba(255,255,255, .5);
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
    opacity: 0;
}

.flex-about .content {
    /*border:6px solid #e8ecef;*/
    background-color: #fff;
    padding:20px;
    text-align: center;
}

.flex-about .content img {
    margin-bottom: 20px;
}





@media screen and (max-width: 992px) {

    .flex-container {
        flex-direction: column;
    }

    .flex-about {
        padding: 10px;
        width: 70%;
    }

    .flex-about .content{
        padding: 10px;
    }

    .flex-slide p {
        font-size: 14px;
        line-height: 18px;
    }

    .flex-about .content img {
        height: 40px;
    }

    .flex-slide .ttm-btn.ttm-btn-size-md {
        font-size: 13px;
        padding: 7px 30px;
    }
}



.flex-slide {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    position: relative;
}


.flex-slide:not(.not_hover):hover {
    -webkit-flex-grow: 2;
    flex-grow: 2;
    -ms-grid-row: 2;
    z-index: 1;
}

.flex-slide:not(.not_hover):hover .flex-title {
    -webkit-transform: translate(100px, -50%);
    -moz-transform: translate(100px, -50%);
    -ms-transform: translate(100px, -50%);
    -o-transform: translate(100px, -50%);
    transform: translate(100px, -50%);
    opacity: 0;
}

.flex-slide:not(.not_hover):hover .flex-about{
    transition-delay: .5s;
    -moz-transition-delay:  .5s;
    -o-animation-delay:  .5s;
    -webkit-transition-delay:  .5s;

    -webkit-transform: translate(-50%,-15%);
    -moz-transform: translate(-50%,-15%);
    -ms-transform: translate(-50%,-15%);
    -o-transform: translate(-50%,-15%);
    transform: translate(-50%,-15%);
    opacity: 1;
}

.flex-slide.madeni {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/main12.jpg);
    background-size: cover;
    background-position: center center;
}

.flex-slide.tts {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/main2_2.jpg);
    background-size: cover;
    background-position: center center;
}


.flex-slide.perakende {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/main2.jpg);
    background-size: cover;
    background-position: center center;
}

.ttm-btn {
    display: inline-block;
    font-size: 16px;
    line-height: normal;
    padding: 11px 32px 11px 31px;
    background: #2f416b;
    color: #fff;
    position: relative;
    font-weight: 600;
    overflow: hidden;
    z-index: 9;
    vertical-align: middle;
    text-transform: uppercase;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    margin-top: 10px;
}

.ttm-btn.ttm-btn-shape-square {
    border-radius: 0;
}
.ttm-btn.ttm-btn-size-md {
    font-size: 14px;
    padding: 13px 30px 13px 30px;
}


.flex-slide.madeni .flex-title span:before,
.flex-slide.madeni .ttm-btn {
    background:#ffd600;
    color:#111111;
}

.flex-slide.tts .flex-title span:before,
.flex-slide.tts .ttm-btn {
    background:#ec1507;
    color:#fff;
}


.flex-slide.perakende .flex-title span:before,
.flex-slide.perakende .ttm-btn {
    background:#ec9411;
    color:#fff;
}


.flex-slide .ttm-btn:hover {
    background-color: #222;
    color:#fff !important;
}


.flex-slide p {
    font-family: "Roboto", sans-serif;
    line-height: 25px;
    color: #111;

}
