@media only screen and (max-width: 400px) {
    #template > .header .information-test .top-section .info-tag > .tag{
        font-size: 13px;
    }
}
@media only screen and (max-width: 768px) {

    #template h2{
        font-size: 24px;
        font-weight: 900;
        color: #334155;
        border-bottom:2px solid #D7D7D7 ;
        margin: 10px 0 20px 0;
        line-height: 48px;
    }
    #template h3{
        font-size: 22px;
        font-weight: 900;
        color: #334155;
        margin: 10px 0 20px 0;
        line-height: 44px;
    }
    #template h4{
        font-size: 20px;
        font-weight: 900;
        color: #334155;
        border-right: 4px solid #FF8917;
        padding-right: 5px;
        margin: 10px 0 20px 0;
        line-height: 40px;
    }
    #template h5{
        font-size: 18px;
        font-weight: 900;
        color: #334155;
        margin: 10px 0 20px 0;
        line-height: 36px;
    }
    #template p{
        font-size: 16px;
        line-height: 32px;
        font-weight: 500;
        color: #505050 ;
        margin: 10px 0;
    }
    #template span{
        font-size: 16px;
    }
    #template {
        padding: 5px;
    }
    #template > .header {
        flex-direction: column;
        padding: 15px 30px !important;
    }
    #template > .header .information-test{
        height: unset !important;
    }
    #template > .header .information-test .top-section {
        flex-direction: column;
        text-align: center;
    }
    #template > .header .information-test .top-section .title {
        margin: 10px 0;
    }
    #template > .header .information-test .bottom-section {
        flex-direction: column;
    }
    #template > .header .information-test .bottom-section .advance-box {
        width: 100%;
        margin: 10px 0;
    }
    #template > .header .information-test .bottom-section div#tools {
        width: 100%;
        margin: 5px 0;
    }

    #template .toggle-catalog {
       display: none;
    }

    #template .tools-box-mobile {
        display: flex;
        position: fixed;
        top: -100%;
        right: 0px;
        width: 100%;
        flex-direction: row-reverse;
        background: #334155;
        color: white;
        border-bottom: 1px solid #fff;
    }
    #template .tools-box-mobile.active{
        top: 0;
    }
    #template .tools-box-mobile > div {
        width: 100%;
        text-align: center;
        padding: 5px 0;
        cursor: pointer;
    }
    #template .tools-box-mobile > div {
        border-right: 1px solid #ccc;
    }
    #template .tools-box-mobile > div:last-child {
        border-right: none;
    }

    #template .advance-box-mobile {
        position: fixed;
        bottom: -100%;
        background: white;
        right: 0;
        width: 100%;
        display: block;
    }
    #template .advance-box-mobile .header {
        border-bottom: 1px solid #ccc;
        padding: 10px;
        position: relative;
    }
    #template .advance-box-mobile .header .title{
        font-size:18px
    }
    #template .advance-box-mobile .header .close {
        position: absolute;
        left: 10px;
        top: 10px;
        cursor: pointer;
    }
    #template .advance-box-mobile > .content {
        list-style: none;
        padding: 0 10px;
        margin: 0;
    }
    #template .advance-box-mobile > .content li {
        border-bottom: 1px solid #e4e4e4;
        padding: 10px 0;
        position: relative;
    }
    #template .advance-box-mobile > .content li div{
        font-size: 16px;
    }
    #template .advance-box-mobile.active{
        bottom: 0;
    }

    #template .advance-box-background {
        position: fixed;
        width: 100%;
        height: calc(100% - 141px);
        top: -100%;
        backdrop-filter: blur(6px);
        background: #3a3a3a3b;
        z-index: 999;
    }
    #template .advance-box-background.active{
        top: 0;
    }
    #template .advance-box-mobile > .content li.active{
        color: green;
    }
    #template .advance-box-mobile > .content li.active:before {
        content: url(../icons/checked-g.svg);
        width: 20px;
        height: 20px;
        position: absolute;
        left: 7px;
    }

    #template .information-result > div{
        margin-bottom: 10px;
    }
    #template .information-result > div:nth-child(2){
        border-left: none;
    }


    #template  .box-your-rate {
        flex-direction: column;
        text-align: center;
    }
    #template  .box-your-rate .your-rate {
        margin-top: 25px;
    }

    #template  .box-your-rate-2 {
        text-align: center;
        flex-direction: column;
    }
    #template .box-your-rate-2 .title {
        flex-direction: column;
    }
    #template .box-your-rate-2 .icon {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }
    #template .box-your-rate-2 .rate-value {
        margin-top: 10px;
    }

    #template .list-unchecked li, #template .list-checked li {
        font-size: 16px;
    }
    /* Special Css*/
    #template  .chart-iq {
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    #template  svg#chart-iq {
        width: 280px;
    }
    #template #sec_1 {
        margin: 0 !important;
        padding: 20px !important;
    }

    #template .esanj-rate .box-your-rate {
        padding: 50px 25px !important;
    }

    #template .table-grading-iq {
        width: 800px;
        margin: 40px auto;
        max-width: 100%;
    }
    #template  .table-grading-iq > div.header > div {
        font-size: 15px;
        font-weight: 800;
        margin: 3px;
        background: #f3f4f6;
    }
    #template .table-grading-iq .r > div {
        font-size: 16px;
        margin: 3px;
    }


    #template  .table-theories {
        max-width: 100%;
    }
    #template  .table-theories > div.header > div {
        font-size: 15px;
        font-weight: 800;
        background: #f3f4f6;
        margin: 3px;
    }
    #template .table-theories > div > div {
        text-align: center;
        margin: 3px;
        border-radius: 5px;
        padding: 10px 0;
        border: 1px solid #D7D7D7;
        font-size: 16px;
    }
    #template  .circle-box .circle-chart {
        width: 90px;
        height: 90px;
    }
    #template .box-p-chart-circle {
        display: block !important;
        margin-bottom: 0px !important;
    }
    #template .box-p-chart-circle .circle-box {
        float: left;
        margin: 5px !important;
    }
    #template .box-sp-2 {
        padding: 10px !important;
    }
    #template .box-sp-2 .w-75 {
        width: 65%!important;
    }
    #template .box-sp-2 .w-25 {
        width: 35%!important;
    }
    #template .font-size-30 {
        font-size: 20px;
    }


    #template .table-iq-compared-country > div.header > div {
        font-size: 15px !important;
        margin: 4px;
    }
    #template .table-iq-compared-country > div > div {
        font-size: 15px !important;
        margin: 3px !important;
    }
    #template .table-iq-compared-country > div > .country img{
        display: none;
    }
    #template .table-iq-compared-country > div > div {
        height: 52px !important;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    #template .box-more-than-test {
        flex-direction: column;
    }
    #template  .box-more-than-test strong.text-warning {
        font-size: 16px;
    }

    #template .progress-iq {
        margin: 20px 10px 40px 30px;
    }
    #template .progress-iq .progress-bar .progress::after {
        padding: 3px 10px 2px;
        top: -3px;
        font-size: 14px;
    }
    #template .progress-iq .grid > div {
        font-size: 12px !important;
    }
    #template .progress-iq .grid {
        bottom: -14px !important;
    }

    #template .button-userpanel {
        padding: 10px;
        border-radius: 5px;
        margin: 5px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    #template .float-end {
        float: left!important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #template .button-calc-iq {
        background: #2ABB9C;
        color: white;
        text-decoration: none;
        padding: 10px;
        border-radius: 6px;
        margin: 5px 5px 30px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    #template .float-end {
width: 100%;
        padding: 10px 40px;
    }

    #template .box-your-rate .your-rate > div {
        color: #00FFC9;
        font-size: 45px;
        font-weight: 700;
        background: black;
        width: 45px;
        text-align: center;
        border-radius: 5px;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 9px;
    }
    #sec_11 .col-md-6 {
        margin-bottom: 15px;
    }
    #template .accordion-item .accordion-button {
        padding: 0 25px;
        font-size: 15px;
    }
    #template  .accordion-body {
        text-align: justify;
        font-size: 18px;
        line-height: 1.9;
    }
}
