﻿
@xsmallDevices: ~"only screen and (max-width: 575px)";
@smallDevices: ~"only screen and (min-width: 576px) and (max-width: 767px)";
@mediumDevices: ~"only screen and (min-width: 768px) and (max-width: 991px)";
@largeDevices: ~"only screen and (min-width: 992px) and (max-width: 1199px)";
@xlargeDevices: ~"only screen and (min-width: 1200px)";

#inPageSearch {
    input[type=search] {
        transition: all 0.5s;
        background: #d7e1e9;
        border: 1px solid #115c9b;
        border-radius: 4px;
        color: #333;
        padding: 1em;
        margin: 1em 0 2em 0;
        width: 100%;

        &:focus {
            background: #ebf1f6;
        }
    }
}


.kategoriListContainer {
    .kategoriList {
        padding: 0em;

        ul {
            padding: 0em;
            list-style: none;
            border: 1px solid #ccc;

            li:nth-of-type(odd) {
                background-color: #dcedf4;
            }

            li {
                border-bottom: 1px solid #ddd;

                &:last-child {
                    border: none;
                }
            }

            .kategoriContainer {
                transition: all 0.5s;

                a {
                    display: block;
                    height: 100%;
                    width: 100%;
                    padding: 1em 0em;

                    span.icon {
                        display: table-cell;
                        vertical-align: middle;

                        span.iconCircle {
                            display: block;
                            padding: 9px;
                            text-align: center;
                            /*background: #467bad;*/
                            /*background: #1d4e8e;
                            border: 1px solid #467bad;*/
                            border-radius: 50%;
                            color: #1d4e8e;
                            height: 50px;
                            width: 50px;
                        }
                    }

                    span.text {
                        color: #333;
                        display: table-cell;
                        padding: 0 0 0 1em;
                        vertical-align: middle;

                        span.gorunenTarih {
                            color: #467bad;
                            font-size: 0.8em;
                            display: table-row;
                        }
                    }

                    &:hover {
                        text-decoration: none;

                        span.text {
                            color: #000;
                        }
                    }
                }

                &:hover {
                    background: #eee;
                }
            }
        }
    }
}



.accordionContainer {
    #accordion {

        hr.dikeyBosluk {
            margin-top: 3em;
            border-top: none;
        }

        .card {
            border: 1px solid #193c5d;
        }

        .accordionHeader {
            /*background: #4e7aa5;*/
            background: #1C4E8F;
            padding: 0;

            h5 {
                button, a {
                    display: block;
                    font-size: 13pt;
                    width: 100%;
                    padding: 0.5rem 1.25rem;
                    text-align: left;
                    color: #fff;

                    &:hover, &:focus {
                        text-decoration: none;
                        /*text-shadow: -2px 2px 4px #ccc;*/
                    }
                }
            }
        }

        .accordionBody {
            padding: 0.5em 1.25rem;

            table {
                color: black;
                border: 1px solid #ccc;

                tr:nth-of-type(odd) {
                    background-color: #dcedf4;
                }

                td {
                    vertical-align: middle;

                    a.mevzuatBaslik, a.dergiLink {
                        color: #000;
                        display: block;
                        height: 100%;
                        width: 100%;
                        transition: all 0.4s;

                        &:hover {
                            color: #467bad;
                            text-decoration: none;
                            text-shadow: -2px 2px 8px #aacced;
                        }
                    }
                }
            }

            ul {
                padding: 0em;
                list-style: none;
                margin: 0;
                /*border: 1px solid #ccc;*/

                li:nth-of-type(odd) {
                    background-color: #dcedf4;
                }

                li {
                    transition: all 0.5s;
                    border-bottom: 1px solid #ddd;
                    font-size: 10pt;
                    padding: 8px 4px;

                    div.satirNo {
                        font-size: 0.8em;
                        font-weight: bold;
                        width: 1.5rem;
                        display: inline-block;
                    }

                    div.webAdresiContainer {
                        font-size: 0.9em;

                        a {
                            color: #467bad;
                            transition: all 0.2s;

                            &:hover {
                                text-decoration: none;
                                text-shadow: -2px 2px 8px #aacced;
                            }

                            @media @smallDevices {
                                padding-left: 32px;
                            }
                        }
                    }

                    button.detayliGor {
                        font-size: 9pt;
                        height: 24px;
                        margin-top: -4px;
                        padding: 0px;
                        background: #1C4E8F;

                        span.detayliGorText {
                            @media @mediumDevices {
                                display: none;
                            }
                        }

                        &:hover {
                            color: #1C4E8F;
                            /*background: #fff;*/
                        }
                    }

                    a.mevzuatBaslik, a.dergiLink {
                        color: #000;
                        display: block;
                        height: 100%;
                        width: 100%;
                        transition: all 0.4s;

                        &:hover {
                            color: #467bad;
                            text-decoration: none;
                            text-shadow: -2px 2px 8px #aacced;
                        }
                    }

                    a.detayliGor {
                        padding: 4px 6px;
                        margin-top: -8px;
                        margin-left: 4px;
                        border: 1px solid #1d4e8e;
                        background: #1d4e8e;
                        color: #fff;

                        &:hover {
                            color: #fff;
                            /*background: #333;*/
                        }
                    }

                    a.detayliGorHover {
                        color: #fff;
                        /*background: #333;*/
                    }

                    &:last-child {
                        border: none;
                    }

                    &:hover {
                        background: #fbfbfb;
                    }
                }
            }
        }
    }
}
