@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400");

.baby-container {
    background-image: url(/en/media/csoie/visualisationtools/babynamesofireland/grey.png);
    /*background-image: url(grey.png);*/
    background-position: center center;
    background-repeat: repeat;
    background-size: auto;
}

#dl-pdf {
    display: none;
}

.bg1 {
    background-image: url(/en/media/csoie/visualisationtools/babynamesofireland/blue.png);
    /*background-image: url(blue.png);*/
    background-position: center center;
    background-repeat: repeat;
    background-size: auto;
}

.bg2 {
    background-image: url(/en/media/csoie/visualisationtools/babynamesofireland/pink.png);
    /*background-image: url(pink.png);*/
    background-position: center center;
    background-repeat: repeat;
    background-size: auto;
}

#loading {
    overflow: hidden;
    width: 100%;
    /*margin: 15px auto;
    border-radius: 20px;*/
}

.baby-container p {
    color: #323e48;
    font-size: 1.3em;
    padding: 10px;
}

.baby-container .form-name-info p {
    font-size: 1.2em;
}

img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.datatables-container {
    width: 50%;
    margin: 20px auto;
    background: #ffffff;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid #d1d9e1;
}


.highchart-container {
    width: 90%;
    margin: 20px auto;
}
/*.datatables-container,
.dataTables_wrapper,
.datatable {
    height: 100px;
}*/

.dataTables_length select {
    padding: 5px;
}

.dataTables_length label {
    color: #000;
}

.dataTables_filter input {
    padding: 10px;
}


.datatables-container h1 {
    text-align: center;
}

.dataTables_wrapper .dataTables_length {
    float: right;
    margin: 0 auto;
    width: 20%;
}

.dataTables_wrapper .dataTables_filter {
    float: none;
    /* text-align: right; */
    margin: 0 auto;
    width: 30%;
    height: 50px;
}

.datatables-container table {
    background: #fff;
}

.dataTables_wrapper .dataTables_filter label {
    text-align: left;
    color: #000;
}

.dataTables_wrapper .dataTables_filter input {
    margin: 10px 0 0 0;
}

.dataTables_paginate {
    margin: 0 0 50px 0;
}



.form-gender, .form-name, .form-name-output, .form-year, .form-year-title {
    margin: 25px auto;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
    border: 2px solid #fff;
}

.form-gender {
    background-image: linear-gradient(to right, #91cef6, #91cef6 50%, #ffc8de 50%);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.form-options {
    border: none;
    padding: 0;
    text-align: center;
}

.form-question {
    font-weight: 400;
    text-transform: uppercase;
    color: #323e48;
}

.form-answer {
    display: inline-block;
    width: 150px;
    height: 150px;
    margin: 25px;
    vertical-align: top;
    font-size: 22px;
    text-align: center;
    color: #fff;
}

.form-options .form-answer:first-of-type {
    margin: 20px 75px 20px 0;
}

.form-options .form-answer:last-of-type {
    margin: 20px 0 20px 75px;
}

.form-gender label {
    border: 1px solid #fff;
}

label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
    transition: all .5s ease-in-out;
    color: #fff;
    font-size: 1.5em;
}

.datatables-container label {
    font-size: 15px;
    height: auto;
}

.form-name text-input {
    display: inline;
}

.form-name select {
    width: 20%;
    padding: 10px;
    margin: 0 10px;
    font-size: 1.1em;
}

.form-name .button-container {
    display: flex;
    justify-content: center;
}

.button-container input {
    display: block;
}

/* Name Certificate */

.cert-container {
    display: flex;
    justify-content: center;
    width: 500px;
    margin: 0 auto;
}

.dl-button {
    padding: 15px;
    display: flex;
    margin: 15px auto;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    margin: 0 auto;
    cursor: pointer;
    font-size: 1.1em;
    border: 1px solid #ccc;
    background-color: #fff;
}

a.dl-button {
    color: #000;
    text-decoration: none;
    display: flex;
}


.fa-file-pdf-o{
    color: #de0b0b;
    padding: 10px;
    position: relative;
    top: 5px;
}

.dl-button .text {
    align-self: center;
    font-size: 1.2em;
}

.dl-button .logo {
}

.form-name label, .form-year label {
    height: 75px;
}

.text-input input, .year-input input {
    margin: 5px 0 0 0;
    width: 60%;
    font-weight: 700;
}

.form-year-title h2 {
    padding: 5px;
    color: #fff;
}

.text-input label, .year-input label {
    width: auto;
    height: auto;
    margin: 0 15px;
    font-size: 1.6em;
}

.ui-button {
    margin: 15px;
    padding: 10px;
}

.year-input {
    display: flex;
    justify-content: center;
}

    .year-input select {
        height: 40px;
        padding: 10px;
        font-size: 1.2em;
    }

.datatables-container select {
    font-size: .9em;
}

.year-input .ui-button {
    margin: 15px;
    padding: 10px;
}

input[type=search] {
    padding: 10px;
    font-size: 1.1em;
}

input[type=radio] {
    display: none;
}

    input[type=radio]:active ~ label {
        opacity: 1;
    }

    input[type=radio]:checked ~ label {
        opacity: 1;
        border: 3px solid #fff;
    }

        input[type=radio]:checked ~ label i {
            transition: all .3s ease-in-out;
            font-size: 2.5em;
            padding: 10px;
        }

.boy ~ label {
    background-color:  #3D9CDB;
    color: #fff;
}

.girl ~ label {
    background-color: #FF5297;
    color: #fff;
}

.fa-2x {
    padding: 10px;
}

.opacity {
    opacity: .2;
}

caption {
    font-size: 1.5em;
    font-weight: bold;
    margin: 10px;
}


@media screen and (max-width: 800px) {

    .year-input select {
        width: 100%;
        margin: 15px auto;
    }

    .form-gender, .form-name, .form-name-output, .form-year {
        width: 80%;
        margin: 50px auto;
    }

        .form-gender label {
            border: 1px solid #fff;
        }

    .form-options .form-answer:first-of-type {
        margin: 25px;
    }

    .form-options .form-answer:last-of-type {
        margin: 25px;
    }

    .dl-button {
        width: 70%;
        margin: 25px auto;
    }

    .form-name select {
        width: 35%;
        padding: 10px;
        margin: 10px auto;
        font-size: 1.1em;
    }

    input[type=text] {
        padding: 10px;
        font-size: 1.1em;
        width: 90%;
    }

    input[type=search] {
        padding: 10px;
        font-size: 1.1em;
        width: 92%;
    }

    .baby-container p {
        color: #fff;
        font-size: 1.3em;
        padding: 0;
    }

    .year-input {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }


    .dataTables_wrapper .dataTables_filter {
        float: none;
       
        width: 90%;
    }

        .dataTables_wrapper .dataTables_filter input {
            margin: 0 auto;
        }

    .datatables-container {
        width: 90%;
    }

    #selectYear {
        margin: 15px auto;
    }
}


.ui-autocomplete {
    height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.hide-text {
    display:none !important;
}