 /*
 Theme Name:Theme excellentchild
 Template:excellent
*/

#primary {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.page #content {
    padding-top: 20px;
}

.page-title {
    font-size: 22px;
}

.boxed-layout #page {
    margin-top: 10px;
}

.entry-title {
    text-align: left;
}

@media only screen and (max-width: 1023px) {
    #primary,
    #secondary {
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 480px) {
    .boxed-layout #site-branding {
        max-width: 280px !important;
    }
}
@media only screen and (max-width: 767px) {
    .boxed-layout #site-branding {
        max-width: 440px !important;
    }
}

h1 {
    padding-left: 15px;
    line-height: 45px !important;
    height: 45px;
    font-size: 20px;
    font-weight: 700;
    background: url("../../uploads/h1.png") 0 100% no-repeat;
}

h2 {
    background: url("../../uploads/h2.png") 0 50% no-repeat;
    padding-left: 15px;
    font-size: 20px;
    font-weight: 700;
    line-height: 45px !important;
}

h3 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h3.png") 0 100% repeat-x;
}

h4 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h4.png") 0 100% repeat-x;
}

h5 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h5.png") 0 100% repeat-x;
}

h6 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h6.png") 0 100% repeat-x;
}

@media only screen and (max-width: 767px) {
    .page-title {
        font-size: 18px;
    }
    h1 {
        font-size: 16px;
    }
}

th {
    font-weight: 700;
    text-align: center;
    background-color: #fff5ee;
}

.main-navigation > ul > li {
    background-color: #ff7f50;
}

.main-navigation > ul > li {
    background: url("../../uploads/menu-list1.png") 0 50% no-repeat;
    background-size: 25px;
    padding-left: 25px;
}

.main-navigation > ul > li:nth-child(odd) {
    background: url("../../uploads/menu-list1.png") 0 50% no-repeat;
    background-size: 25px;
}

.main-navigation > ul > li:nth-child(even) {
    background: url("../../uploads/menu-list2.png") 0 50% no-repeat;
    background-size: 25px;
}

@media only screen and (max-width: 980px) {
    .menu-toggle {
        margin-left: 10px !important;
    }
    .main-navigation > ul > li:nth-child(odd) {
        background-position: 0 0;
    }
}

.news {
    width: 90%;
    max-height: 500px;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
}

.news table,
.news tbody,
.news th,
.news td {
    border: none;
}

.news tr:nth-child(odd) {
    background-color: #eebbcb;
    font-weight: 700;
    padding: 5px;
}

.news tr:nth-child(even) {
    background-color: #fff1cf;
    padding: 5px;
}

.profile {
    border-radius: 20px;
    padding: 1.3em;
    min-height: 200px;
    margin-bottom: 0.7em;
    background: url("../../uploads/profile-bg.png") 0 0 repeat;
}

.profile h4 {
    font-weight: 700;
    color: #65318e;
    text-align: center;
}

.profile .wp-block-column:nth-child(odd) {
    margin-right: 5px;
    
}

.profile .wp-block-column:nth-child(even) {
    margin-left: 0;
    padding: 0.5em;
    background-color: #fff;
}

.site-info {
    background-color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 250px;
    padding: 220px 0 20px;
}
@media only screen and (max-width: 1023px) {
    .site-content:after{
        background: none;
        height: 0;
    }
    .site-info {
        height: 150px;
        padding: 100px 0 10px;
    }
}
@media only screen and (max-width: 767px) {
    .site-info {
        height: 100px;
        padding: 60px 0 10px;
    }
}
@media only screen and (max-width: 480px) {
    .site-info {
        height: 80px;
        padding: 30px 0 10px;
    }
}