@import url('https://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin');
@import url('https://rsms.me/inter/inter.css');

body {
    margin: 0;
}

h1 {
    text-align: center;
    font-family: Inter, Ubuntu, serif;
}

h2 {

    font-family: Inter, Ubuntu, serif;
    margin-bottom: 0;
}

#main-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

div.main-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

div.main-image > img {
    height: 10rem;
    width: auto;
}

.temas {
    width: fit-content;
}

a, a:hover {
    text-decoration: none;
}

#header {
    width: 100%;
    height: 5rem;
    top: 0;
    z-index: 1;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);

}

#header-separator {
    background-color: #4F96DB;
    width: 2px;
    height: 1rem;
    display: inline-block;
    margin-top: 1.5rem;
}

#header-link {
    margin-top: 1.5rem;
    margin-left: 0.8rem;
    display: inline-block;
}

.header-link, .header-link:hover {

    font-family: Work Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 1.5rem;
    vertical-align: center;
    color: #B8DBFF;
}

#taxit-logo {
    height: 2rem;
}

#footer {
    width: 60%;
    height: 5rem;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.footer-container {
    background: #F1F2F6;
    width: 100%;
    height: 8rem;
    padding-top: 2rem;
    float: end;
}

.main-container {
    min-height: calc(100vh - 9.6rem);
    background: white
}

.single-main-container {
    display: block;
    width: 100%;
    min-height: calc(100vh - 12.8rem);
    background: linear-gradient(179.46deg, #99B7FF -13.7%, #91B3FB 27.21%, #7CAAF1 88.58%, #5A9AE0 164.27%, #4F96DB 186.77%, #4F96DB 190.86%);
}

.single-topic-image-container {
    display: inline-block;
    margin-right: 4rem;
    float: left;
    margin-top: 10rem;

}

.single-topic-text-container {
    display: inline-block;
    float: left;
    width: 25rem;
    height: 20rem;
    margin-top: 14rem;
}

.single-topic-card {
    display: block;
    width: 50rem;
    margin-right: auto;
    margin-left: auto;
}

.single-topic-image-container > img {
    height: 20rem;
    width: auto;
}

.single-topic-title, .single-topic-description, .single-topic-url {
    display: block;
}

.single-topic-title {
    color: white;
    font-family: "Work Sans";
    font-weight: 600;
    font-size: 2.5rem;
    letter-spacing: -0.045em;
    padding-bottom: 1rem;
    color: #FFFFFF;
}

.single-topic-description {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: -0.035em;
    color: #414042;
    padding-bottom: 1rem;
}

.single-topic-url, .single-topic-url:hover {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    width: 12rem;
    color: #FFFFFF;
    border-radius: 4rem;
    border: solid white;
    padding: 0.5rem 1rem;
    text-align: center;
}

.services-section-image {
    margin-top: 10rem;
    margin-bottom: 1rem;
}

div.services-section-image > img {
    width: 11rem;
    height: auto;
}



#topics-container, .services-card-container {
    text-align: justify;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6rem;
    margin-top: 4rem;
}

.services-card-container {
    width: 80%;
    text-align: center;
}

.question-topic {
    display: inline-block;
}

.topic-description {
    color: #414042;
    font-family: "Work Sans";
    display: block;
    margin: 1rem auto 2rem auto;
    font-size: 0.7rem;
    width: 80%;
}

.topics-section {
    width: 80%;
    margin: 2rem auto;
    display: block;
    text-align: center;
}

.topic-image-container > img {
    border-radius: 1rem;
    height: auto;
    width: 60%;
    margin: 1rem auto;
    display: block;
}


.dropdown-button {
    height: 1rem;
    margin: 0.5rem;

}

a, a:hover {
    color: black;
    text-decoration: none;
}

.question {
    text-align: left;
    margin-top: 0.2rem;
    font-size: 1rem;
    padding: 0.2rem;

}

#id_alert_title {
    text-align: left;
}

.services-card {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 19%;
    margin-left: 4rem;
    margin-right: 4rem;
    border-radius: 1rem;
    height: 23rem;
    background: rgb(203, 223, 245);
}

.question-topic {
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 30%;
    text-align: center;
}

.fill-block {
    display: inline-block;
    width: 100%;
    height: 1rem;
}

.topic-title {
    text-align: center;
    margin: 1rem auto;
    font-family: "Work Sans";
    color: white;
    font-size: 1rem;
    display: block;
    width: 80%;

}

.services-section-image, .services-section-title {
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    text-align: center;
}

.services-section-title {
    margin-bottom: 4rem;
}

.services-card-title {
    font-size: 1rem;
    font-weight: bold;
    height: 6rem;
}

.topic-image-container, .question, .services-card-title {
    display: block;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.services-card-image {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.services-card-image > img {
    height: 10rem;
    width: auto;
}

.topic-card {
    display: inline-block;
    width: 28%;
    vertical-align: top;
    margin: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    min-height: 28rem;

    background: linear-gradient(90deg, #99B7FF 0%, #91B3FB 22%, #7CAAF1 56%, #5A9BE0 97%, #579ADF 100%);
}

.response-link {
    margin-left: 6rem;
    margin-bottom: 1rem;
    color: black;
    display: block;
    font-size: 1.5rem;
}


/*.share-button {*/
/*    display: block;*/
/*    width: 6rem;*/
/*    margin-right: auto;*/
/*    margin-left: auto;*/
/*}*/

#header-query-input, #header-query-input:focus, #header-query-input::placeholder, #header-query-input:hover, #header-query-input:active,
#query-input, #query-input:focus, #query-input::placeholder, #query-input:hover, #query-input:active {
    margin-right: 1rem;
    display: inline-block;
    background: transparent;
    color: #A8ACB9;
    border: none;
    outline: none;
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 21px;
    width: 13rem;
    margin-left: 1rem;
}

input:-webkit-autofill, input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, transparent 600000s 0s;
}

.row {
    display: block;
}

.social-anchor {
    padding: 0.1em;
    float: left;
    width: 11rem;
}

.social-anchors-container {
    display: inline-block;
    height: 4.5rem;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 6rem;
}

#header-search-button {
    display: inline-block;
    border: none;
    margin-left: 0.5rem;
    margin-top: 0.5rem;

    height: 1.5rem;
    background: transparent;
}

#search-bar-header {
    float: right;
    margin: 1rem;
    background: #F1F2F6;
    border-radius: 3rem;
    height: 3rem;
    margin-right: 4rem;
}

.taxit-footer-logo {
    display: inline-block;
    height: 100%;


}

.taxit-footer-logo > img {
    display: block;
    height: 3rem;
    margin-top: 1rem;
}

.social-icon {
    height: 1rem;
    width: 1rem;
    float: left;
    margin-right: 0.5rem;
}

.social-icon-text {
    float: left;
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 19px;
    vertical-align: center;
    color: #939598;
}

#taxit-logo, #query-input, #search-button, #search-bar {
    display: inline-block;
}

#header-logo {
    display: inline-block;
    width: fit-content;
    margin: 1rem;
}

div.response-text > .table-container {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    background: #F1F2F6;
    padding: 1rem 3rem;

    border-radius: 1rem;
    width: 100%;
    overflow: auto;
}


div.response-text > .table-container > table {

    /*border:1rem solid black;*/
    padding: 0.7rem;
    caption-side: top;
    border-radius: 3rem;
    width: 100%;
}

div.response-text > .table-container > table > caption {
    text-align: center;
    font-size: 1.3rem;
    color: #4F96DB;
    margin-bottom: 1rem;
}

div.response-text > .table-container > table > tbody > tr > td:not(:last-child) {
    border-right: solid 1px #4F96DB;
}

div.response-text > .table-container > table > tbody > tr:not(:last-child) > th,
div.response-text > .table-container > table > tbody > tr:not(:last-child) > td {
    border-bottom: solid 1px #4F96DB;
}

div.response-text > .table-container > table > tbody > tr > th {
    text-align: center;
}

div.response-text > .table-container > table > tbody > tr > th,
div.response-text > .table-container > table > thead > tr > th {
    color: #4F96DB;
    font-size: 1rem;
    font-weight: normal;
}

div.response-text > .table-container > table > thead > tr:not(:last-child) {

}

div.response-text > img {
    width: 85%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

th, td {
    padding: 0.3rem 0.5rem;
}

.search-section {
    display: block;
    width: 50%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

#search-button {
    background: transparent;
    border: none;
}

#search-bar-home {
    display: block;
    background: #F1F2F6;
    border-radius: 0.5rem;
    width: 30rem;
    padding: 0.5rem;
}

.main-url, .main-url:hover {
    font-family: "Work Sans";
    background: #4F96DB;
    color: white;
    border: solid #4F96DB 1px;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
}

.search-title {
    font-family: "Work Sans";
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #58595B;
}

div.search-section#home-search-section {
    width: 70%;
}

.main-element-container {
    display: block;
    width: 50%;
    margin: 2rem auto;
}


@media only screen and (max-width: 1280px) {
    .taxit-footer-logo {
        display: none;
    }

    .social-anchors-container, #footer {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #footer {
        margin-left: 20% !important;
    }

    .social-anchors-container {
        width: 100%;
    }

    #footer {
        width: 75%;
    }


}

@media only screen and (max-width: 1000px) {
    .single-main-container {
        height: auto;
        padding-bottom: 3rem;
        padding-top: 2rem;
    }

    .single-topic-image-container {
        margin-top: 4rem;
    }

    .single-topic-text-container {
        margin-top: 7rem;
    }

    .single-topic-card {
        width: 100%;
    }

    .topic-card {
        width: 40%;
        min-height: 24rem;
    }
}

@media only screen and (max-width: 920px) {
    #footer {
        width: 50%;
        margin-left: 30% !important;
    }

    .social-anchor {
        width: 50%;
    }

    .single-topic-text-container {
        display: block;
        float: unset;
        width: 80%;
        margin: 1rem auto !important;
        height: auto;
    }

    .single-topic-image-container {
        display: block;
        width: 80%;
        margin: 0 auto !important;
        float: unset;
    }

    .topic-card {
        width: 40%;
    }

    .footer-container {
        height: 10rem;
    }
}

@media only screen and (max-width: 768px) {
    #id_alert_title {
        text-align: center;
    }
}

@media only screen and (max-width: 720px) {
    .topic-card {
        width: 80%;
        min-height: 22rem;
    }

    .topic-image-container > img {
        width: 50%;
    }
}

@media only screen and (max-width: 650px) {

    .footer-container {
        height: 12rem;
    }

    .social-anchor {
        width: 50%;
    }

    #search-bar-home {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .social-anchor {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .footer-container {
        height: 17rem;
    }

    #footer {
        width: 40%;
        margin-left: auto !important;
    }

    #search-icon {
        height: 1rem;
        width: 1rem;
    }

    #query-input, #query-input:focus, #query-input:hover, #query-input:active {
        width: 70%;
        margin: 0;
        font-size: 0.8rem;
    }

    #query-input::placeholder {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 450px) {
    #query-input, #header-query-input {
        width: 50%;
    }

    #header-query-input::placeholder {
        font-size: 0.8rem;
    }

    #header-separator {
        display: none;
    }

    #header {
        height: fit-content;
    }

    #taxit-logo {
        height: 1.2rem;
    }

    #header-link {
        margin: 0.5rem !important;
    }

    .header-link {
        font-size: 1rem;
    }

    .search-title {
        font-size: 1rem;
    }

    div.search-section#home-search-section {
        width: 90%;
        margin: 1rem auto;
    }

}

@media only screen and (max-width: 300px) {
    .single-topic-image-container > img {
        width: 90%;
        height: auto;
    }

    input#query-input {
        width: 50%;
    }

    .topics-section {
        width: 90%;
    }

    .topic-card {
        width: 100%;
        margin: 1rem 0;
    }

    .single-topic-card {
        padding-top: 1rem;
    }
}

@media only screen and (max-height: 850px) {
    .single-topic-image-container {
        margin-top: 7rem;
    }

    .single-topic-text-container {
        margin-top: 11rem;
    }
}