#search-form {
    margin: auto;
    max-width: 650px;
}

#result .comp_list {
    display: inline-block;
    background: black;
    color: white;
    width: 24%;
    text-align: center;
    border-radius: 40px;
    margin: 1% 4px 0px 2px;
    vertical-align: middle;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

}
.compheader .expand-item label a{
	color:#fff !important;
}

@media all and (min-width: 300px) and (max-width: 320px) {
    #result .comp_list .compbox {
        background: #E4E4E4 none repeat scroll 0 0;
        color: #595959;
        display: block;
        height: 56px;
        line-height: 13px;
        margin: 10px 0;
        padding: 6px 10px;
        text-align: center;
        border-radius: 11px;
    }
}


#result .comp_list .compbox:hover {
    background: #0053A0 none repeat scroll 0 0;
    color: #fff;
}

.comp_list>a {
    text-decoration: none;
}

#result {
    margin: auto;
}

.competitions {
    padding: 0px 0px 30px 0px;
}

.selectleft>select {
    margin: auto !important;
    width: 80% !important;
}

.selectright>select {
    margin: auto !important;
    width: 80% !important;
}

.selectright {
    float: left;
    width: 50%;
}

.selectleft {
    float: left;
    width: 50%;
}

.comptitle h1 {
    margin: 0;
    padding: 13px 0;
    text-align: center;
}

.comptitle {
    float: none;
    width: 100%;
    text-align: center;
}

.comptitle span {
    color: black;
    font-size: 38px;
    text-transform: uppercase;
}

.recent {
    float: left;
    text-align: center;
    width: 25%;
}

.upcoming {
    float: right;
    width: 25%;
    text-align: center;
}

.recent span {
    background-color: black;
    color: white;
    font-size: 15px;
    padding: 15px 20px;
    text-transform: uppercase;
    border-radius: 40px;
    font-weight: 100;
}

.upcoming span {
    background-color: black;
    color: white;
    font-size: 15px;
    padding: 15px 20px;
    text-transform: uppercase;
    border-radius: 40px;
    font-weight: 100;
}


.allcom {
    padding: 15px 0;
    text-align: right;
    width: 85%;
}

.allcom span {
    background-color: #242D64;
    color: #fff;
    font-size: 15px;
    padding: 10px;
    text-transform: uppercase;
}

.allcom>a {
    text-decoration: none;
}

.comp_count {
    padding: 20px 0;
    text-align: center;
}

.comp_count div h4 {
    color: white;
    font-weight: 100;
}

.comp_count div {
    background-color: black;
    color: white;
    display: inline-block;
    font-size: 18px;
    padding: 20px 20px;
    border-radius: 40px;
}

#result .comp_list span:hover {
    background: #242D64 none repeat scroll 0 0;
    color: #fff;
}

#competitions #comp_wrapper #comp_ajax_message div {
    background: #8dbfff none repeat scroll 0 0;
    color: #fff;
    display: inline-block;
    font-size: 0.9em;
    line-height: 130%;
    padding: 6px 12px 4px;
    text-align: center;
}

#competitions #comp_wrapper #comp_ajax_message {
    text-align: center;
}

#top select,
#top .avia_ajax_form .select,
#top .entry-content-wrapper select {
    font-size: 15px;
    line-height: 20px;
}

#result .comp_list .compbox:hover span {
    border: 1px solid #fff;
    border-radius: 6px;
    display: inline-block;
    height: 100%;
    width: 100%;
}

.comp_list h3 {
    color: white;
    line-height: 18px;
    margin: 0;
    vertical-align: middle;
    padding: 15px;
    font-size: 16px;
    font-weight: 100;
}

#result .comp_list:hover {
    background: #A0A0A0;
    color: white !important;
}

.comp_list h3 a:hover {
    color: white !important;
    text-decoration: underline !important;
}

.comp_list:hover h3 {
    color: #fff;
}

@media all and (min-width: 768px) and (max-width: 900px) {
    #result .comp_list .compbox {
        height: 92px;
    }

    .recent {
        width: 30%;
    }

    .upcoming {
        width: 30%;
    }

    .upcoming span {
        font-size: 13px;
    }

    #result .comp_list {
        width: 23%;
    }

    .comp_list h3 {
        font-size: 14px;
    }
}

@media all and (min-width: 901px) and (max-width: 1100px) {
    #result .comp_list .compbox {
        height: 72px;
    }
}

@media all and (max-width: 767px) {
    .comptitle {
        float: none;
        width: 100%;
        text-align: center;
    }

    .upcoming {
        float: none;
        width: 100%;
        text-align: center;
    }

    .recent {
        float: none;
        width: 100%;
        text-align: center;
    }
}

@media all and (min-width: 481px) and (max-width: 767px) {
    #result .comp_list {
        width: 47%;
    }
}

@media all and (min-width: 481px) and (max-width: 560px) {
    #result .comp_list .compbox {
        height: 72px;
    }
}

@media all and (max-width: 480px) {
    #result .comp_list {
        width: 100%;

        float: none;
    }

    .comptitle span {
        font-size: 20px;
    }
}