﻿/** Custom Select Search **/
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
}

    .custom-select-wrapper select {
        display: none;
    }

.custom-select-search {
    position: relative;
    display: inline-block;
}

.custom-select-trigger {
    font-family: 'Roboto';
    font-size: 12px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 190px;
    padding: 7px;
    font-weight: 400;
    color: #fff;
    background: #015a84;
    border-radius: 18px 0px 0px 18px;
    border: solid 1px #015a84;
    cursor: pointer;
    transition: 0.8s;
    vertical-align: middle;
}

    .custom-select-trigger:after {
        position: absolute;
        display: block;
        content: '';
        width: 10px;
        height: 10px;
        top: 50%;
        right: 16px;
        margin-top: -3px;
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg) translateY(-50%);
        transition: all .4s ease-in-out;
        transform-origin: 50% 0;
    }

.custom-select.opened .custom-select-trigger:after {
    margin-top: 3px;
    transform: rotate(-135deg) translateY(-50%);
}

.custom-options {
    position: absolute;
    display: block;
    left: 15px;
    width: 175px;
    margin: 0;
    border: 1px solid #015a84;
    box-sizing: border-box;
    box-shadow: 0 2px 1px rgba(0,0,0,.07);
    background: #fff;
    transition: all .4s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
}

.custom-select.opened .custom-options {
    z-index: 6;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-options:before {
    position: absolute;
    display: block;
    bottom: 100%;
    right: 25px;
    width: 7px;
    height: 7px;
    margin-bottom: -4px;
    border-top: 1px solid #b5b5b5;
    border-left: 1px solid #b5b5b5;
    background: #fff;
    transform: rotate(45deg);
    transition: all .4s ease-in-out;
}

.option-hover:before {
    background: #00aeef;
}

.custom-option {
    position: relative;
    display: block;
    padding: 0 0 0 28px;
    font-size: 12px;
    font-weight: 400;
    color: #015a84;
    line-height: 28px;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

    .custom-option:first-of-type {
        border-radius: 0;
    }

    .custom-option:last-of-type {
        border-bottom: 0;
        border-radius: 0;
    }

    .custom-option:hover,
    .custom-option.selection {
        background: #015a84;
        color: #ffffff;
    }

    /** SEARCH RESULTS **/

.header-subpages {
    background-color: transparent;
    font-size: 22px;
    font-style: unset;
    font-weight: 700;
    color: #909090;
    padding-bottom: 15px;
    padding-right: 15px;
    margin: auto;
    vertical-align: middle;
    padding-top: 15px;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header-advanced-search {
    background-image: url(/Images/pesquisa_avancada.jpg);
    width:847px;
    height:152px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.header-normativo-search {
    background-image: url(/Images/pesquisa_normativo.jpg);
    width: 847px;
    height: 152px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.header-advanced-search-text {
    font-size: 40px;
    padding-top: 50px;
    padding-left: 40%;
    font-weight: 600;
    color: #7d7979;
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    .header-search {
        font-size: 20px;
        font-weight: 400;
        color: #5c6366;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

.header-search-topic {
    font-size: 14px;
    font-weight: 600;
    color: #595555;
    padding: 2px;
    padding-left: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header-search-result {
    font-size: 16px;
    font-weight: 600;
    color: #005a84;
}

.search-highlight {
    font-size: 14px;
    font-weight: 600;
    color:orangered;
}

.search-results-topic {
    font-size: 14px;
    font-weight: 600;
    color: #005a84;
}

    .search-results-topic:hover {
        color: #0095c0;
        text-decoration: underline;
    }

.search-results-subtopic {
    font-size: 12px;
    font-weight: 400;
    color: #606060;
}

.form-control-search {
    margin-top: 4px;
    padding-left: 15px;
    display: block;
    width: 100%;
    height: 43px;
    font-size: 14px;
    color: #555555;
    background-color: #f6f6f6;
    border-radius: 19px;
    border: none;
    border-bottom: 1px solid #ffff;
}

    .form-control-search:hover {
        background-color: #e7e7e7;
    }

a {
    color: #23527c;
    text-decoration: none;
}

    a:hover, a:focus {
        color: #0095c0;
        text-decoration: underline;
    }

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 20px;
}

    .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
        z-index: 3;
        color: #fff;
        cursor: default;
        background-color: #005a84;
        border-color: #005a84;
        border-radius: 20px;
        font-weight:700;
    }

    .pagination > li > a, .pagination > li > span {
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #005a84;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 20px;
    }

    .pagination > li:first-child > a, .pagination > li:first-child > span {
        margin-left: 0;
        border-radius: 20px;
    }

    .pagination > li:last-child > a, .pagination > li:last-child > span {
        border-radius: 20px;
    }

.border-box-search {
    background-color: #f6f6f6;
    padding: 15px;
    border-radius: 15px;
}

.dot-search {
    text-align: center;
    background-repeat: repeat-x;
    background-image: url(/Images/dot2.png);
    background-position-y: center;
    width: 100%;
    float: none;
}

.button-darkblue-contact {
    width: 100%;
   
    background-color: #005a84;
    border: 1px solid #005a84;
    color: white;
    padding: 15px;
    padding-left: 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 22px;
    margin: 8px 20px;
    cursor: pointer;
    border-radius: 35px;
    transition: 0.8s;
}


div .button:hover {
    background-color: white;
    color: #003857;
    border: 1px solid #003857;
}

div .button-darkblue-contact:hover {
    background-color: #00a9da;
    color: #ffffff;
    border: 1px solid #00a9da;
}

/** ADVANCED SEARCH DESIGN **/

.button-darkblue-advanced {
    width: 50%;
    float: right;
    background-color: #005a84;
    border: 1px solid #005a84;
    color: white;
    padding: 7px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 15px 10px;
    cursor: pointer;
    border-radius: 35px;
    transition: 0.8s;
}


div .button-darkblue-advanced:hover {
    background-color: #00a9da;
    color: #ffffff;
    border: 1px solid #00a9da;
}



.combo-box-search {
    position: absolute;
    transform: translate(-50%, -50%);
}

.combo-box-search select {
    background-color: #f0f0f0;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 250px;
    border: 1px solid #aaaaaa;
    border-radius: 19px;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    -webkit-appearance: button;
    appearance: button;
    outline: none;
}

    .combo-box-search::before {
        content: "\f107";
        font-family: FontAwesome;
        position: absolute;
        top: 0;
        right: 0;
        width: 20%;
        height: 100%;
        text-align: center;
        border-radius: 0px 19px 19px 0px;
        font-size: 28px;
        line-height: 45px;
        color: #ffff;
        background-color: #005a84;
        pointer-events: none;
    }

    .combo-box-search:hover::before {
        color: #ffff;
        background-color: #00a9da;
    }

    .combo-box-search select option {
        padding: 30px;
    }

.advanced-search-box {
    background-color: #e3e3e3;
    border-radius: 10px;
    width: 100%;
    padding: 10px;
}

.form-control-advanced-search {
    padding-left: 18px;
    display: block;
    width: 100%;
    height: 35px;
    font-size: 14px;
    color: #555555;
    background-color: #ffff;
    border-radius: 19px;
    border: 1px solid #bcbcbc;
}

/** ADVANCED SEARCH COMBO BOX **/



.select-advancedsearch-combo-box {
    border-radius: 19px;
    border: 1px solid #aaaaaa;
    background-color: #f0f0f0;
    color: #000000;
    padding: 12px;
    padding-left: 15px;
    width: 40%;
    font-weight: 600;
    outline: none;
}

    .select-advancedsearch-combo-box:hover {
        background-color: #fff;
        cursor: pointer;
    }

    .select-advancedsearch-combo-box:after {
        content: "\f13a";
        font-family: FontAwesome;
        background-color:#005a84;
        color: #fff;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        padding: 0 0 2px;
        position: absolute;
        pointer-events: none;
    }

    

.header-search {
    font-size: 14px;
    font-weight: 600;
    color: #595555;
    padding-left: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}