﻿/* These styles are used within content - NOT IN TEMPLATES */

/* boxes */
.groupwith, .groupalone {
    margin: 0;
    vertical-align: top;
}

.groupwith {
    display: inline-block;
}

.groupalone {
    display: block;
}


/* header */
.headercontent.left2 .titlebreak {
    display: none;
}

.headercontent .socialcontent {
    display: inline-block;
    font-family: Roboto,sans-serif; 
    font-size: 9.5px;
    line-height: 1em;
    margin-top: 18px;
    text-align: center;
}

    .headercontent .socialcontent img {
        height: 32px;
        width: 32px;
    }

.headercontent .socialimage {
    display: inline-block;
    height: 44px;
    margin: 5px 2px;
    width: 44px;
}

.headercontent.right .searchimage {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    display: inline-block;
    margin: 5px 2px;
}

/*  
    Padding of content areas
    Assign 1px instead of 0, so that element padding is not lost
    on the side without padding.
*/

.inner-padding-all {
    padding: 20px;
}

.inner-padding-trl {
    padding: 20px 20px 1px 20px;
}

.inner-padding-rbl {
    padding: 1px 20px 20px 20px;
}

.inner-padding-rl {
    padding: 1px 20px 1px 20px;
}

/* home page and news blocks */

.home-slide-container {
    width: 64%;
    background-color: transparent;
    display: inline-block;
    float: left;
    margin: auto;
    padding: 0 3px 3px 0;
    position: relative;
}

.home-left-slide {
    background-color: white;
    height: 383px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.home-left-slide .myslide {
        text-align: center;
    }

.home-left-slide .myslide img {
        position: relative;
        width: 100%;
    }

.home-left-slide .myslide .slide-caption {
        background-color: rgba(60,60,60,.8);
        bottom: 28px;
        font-family: "Roboto Condensed",sans-serif;
        font-size: 26px;
        line-height: 1.2em;
        padding: 10px 10px 5px 10px;
        position: absolute;
        width: 100%;
    }

.home-left-slide .myslide .slide-caption a {
        color: #efefef;
        text-decoration: none;
    }


    /* The dots/bullets/indicators */

    .home-left-slide .dotbox {
        background-color: rgba(60,60,60,.8);
        bottom: 0;
        color: #efefef;
        font-family: "Roboto Condensed",sans-serif;
        font-size: 10px;
        line-height: 1.3em;
        padding: 5px;
        position: absolute;
        text-align: center;
        text-decoration: none;
        width: 100%;
    }

    .home-left-slide .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 10px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }

        .home-left-slide .dot.active,
        .home-left-slide .dot:hover {
            background-color: #BAE860;
        }

/* Slide - next & previous buttons */
.prev,
.next {
    background-color: #c5c6c8; /*fallback*/
    background-color: rgba(63,67,72,0.2);
    border-radius: 0 3px 3px 0;
    color: #fff; 
    cursor: pointer;
    font-size: 30px;
    font-weight: bold;
    margin-top: -22px;
    padding: 16px 8px;
    position: absolute;
    top: 50%;
    transition: 0.6s ease;
    width: auto;
}

/* Side - position the "next button" to the right */
.next {
    right: 3px;
    border-radius: 3px 0 0 3px;
}

    /* Slide - on hover, decrese transparency of background 
    .prev:hover,
    .next:hover,
    .prev:focus,
    .next:focus {
        background-color: #8c8e91; /*fallback*/
        background-color: rgba(63,67,72,0.8);
        color: #fff;
        text-decoration: none;
    }

a.prev:hover,
a.next:hover,
a.prev:focus,
a.next:focus {
    color: #fff;
}

/* home */
#home-container .news-banner-container {
    background-color: transparent;
    border-bottom: solid 3px transparent;
    border-right: solid 3px transparent;
    display: inline-block;
    float: left;
    height: 193px;
    margin: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 32%;
}

    #home-container .news-banner-container a {
        background-color: rgba(60,60,60,.8);
        bottom: 0;
        color: #efefef;
        display: block;
        font-size: 16px;
        line-height: 1.2em;
        overflow: hidden;
        padding: 10px;
        position: absolute;
        text-align: center;
        text-decoration: none;
        width: 100%;
    }

    #home-container .news-banner-container img {
        height: auto;
        width: 100%;
    }

    #home-container .news-banner-container.viewall {
        height:80px;
        text-align: center;
    }

        #home-container .news-banner-container.viewall a {
            background-color: #fff;
            color: #228b22;
        }

        #home-container .news-banner-container.viewall h5 {
            padding: 0;
            text-align: center;
        }

.plainpage .news-banner-container {
    background-color: #fff;
    display: inline-block;
    float: left;
    height: 120px;
    margin: 0 10px 10px 0;
    overflow: hidden;
    position: relative;
    width: 32%;
}

    .plainpage .news-banner-container a {
        background-color: #fff;
        bottom: auto;
        color: #333;
        font-size: 16px;
        line-height: 1.2em;
        left: 43%;
        padding: 0 10px;
        position: absolute;
        text-align: left;
        text-decoration: none;
        top: 15px;
        width: 55%;
    }

    .plainpage .news-banner-container img {
        left: 0;
        position: absolute;
        width: 40%;
    }

/* This style allows its pagelet parent to "disappear" if there is no content */

.home-right-plain .right-plain-inner {
    padding: 0 10px 10px 10px;
}

.home-right-plain h5 {
    padding-left: 0;
    text-align: center;
}

.home-right-color h5 {
    padding-top: 5px;
    padding-left: 10px;
    text-align: center;
}

/* major sponsor display box on home page */

#aptasponsor {
}

/* Boxes within the main content */

.boxhalf, .boxfull {
    background-color: #fff;
    margin-bottom: 10px;
    vertical-align: top;
}

.boxfull {
    display: block;
}


.boxfullnobg {
    vertical-align: top;
}

.boxhalf {
    display: inline-block;
    margin-right: 1%;
    width: 48%;
}

/*  newslist - table with striped rows that displays text-only news and announcements on the home page */

.newslist-wrapper {
    width: 100%;
    padding: 0 10px;
}

table.newslist {
    font-family: Roboto,sans-serif; 
    margin-bottom: 20px;
    width: 100%;
}

    table.newslist tr {
        border-top: solid 1px #e0e5e9;
    }

    table.newslist th {
        font-weight: bold;
        padding: 10px 5px;
        text-align: left;
    }

    table.newslist td {
        line-height: 1.2em;
        padding: 10px 5px;
        vertical-align: middle;
    }

        table.newslist td.listdateshort, table.newslist td.listdatelong {
            white-space: nowrap;
        }

table.plain {
    border: none;
    border-collapse: collapse;
}

    table.plain td {
        border: none;
    }

/* tournament page */

table.tourney-details {
}

    table.tourney-details td:nth-child(1) {
        color: #2b4564;
        font-weight: bold;
        text-align: left;
        vertical-align: top;
        white-space: nowrap;
    }

/* tournament side column */

table.tourney-side {
    width: 300px;
    margin-bottom: 20px;
    float: right;
    margin-left: 20px;
    clear: both;
}

    table.tourney-side h6 {
        font-size: 20px;
    }

    table.tourney-side td {
        padding: 0 0 10px 0;
    }

        table.tourney-side td.tourney-news-results {
            font-size: 20px;
        }

/* sections within a no-background page */

.boxhalf-image {
    float: left;
}

.boxhalf-text {
    padding: 10px 10px 10px 210px;
}

.boxtable {
    border: none;
}

    .boxtable td {
        padding: 10px;
        vertical-align: top;
    }

        .boxtable td img {
            width: 200px;
        }

        .boxtable td h2 {
            margin: 0;
        }

        .boxtable td p {
            margin: 0;
            padding: 10px 0 0 0;
        }

/* footer content */

#pre-footer-content a {
    text-decoration: underline;
}

    #pre-footer-content a.jumplinkpic {
        color: inherit;
        text-decoration: none;
        margin-left: 50px;
    }

        #pre-footer-content a.jumplinkpic:hover {
            text-decoration: underline;
        }

        #pre-footer-content a.jumplinkpic img {
            margin-left: 5px;
            width: auto;
        }

#footer-content .bottomsponsor {
    display: inline-block;
    margin: 0 5px 10px 5px;
    width: 200px;
}

#post-footer-content .underfoot {
    display: block;
    margin-bottom: 20px;
}

#post-footer-content .footleft {
    display: inline-block;
    float: left;
}

#post-footer-content .footright {
    display: inline-block;
    float: right;
}
