﻿body {
    padding-top: 3px;
    padding-bottom: 20px;
    background-color: #fff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 10pt;
}

.body-main {
    margin-top: -30px;
}

@media (max-width: 767px) {
    .body-main {
        margin-top: 5px;
    }
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid #a0a0a0;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .body-content {
        border:0;
    }
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Text Angular */
text-angular .btn-group button {
    padding: 3px 8px;
    margin-bottom: 5px;
}

text-angular .ta-scroll-window {
    border: 1px solid #ccc;
}


/* Upload */
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

/* Table Data */

.orderByAsc::after {
    position: relative;
    top: 1px;
    left: 5px;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f0d8";
}

.orderByDesc::after {
    position: relative;
    top: 1px;
    left: 5px;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: " \f0d7";
}


/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
}

    textarea[auto-grow] {
        resize: none;
        word-wrap: break-word;
        transition: 0.05s;
        -moz-transition: 0.05s;
        -webkit-transition: 0.05s;
        -o-transition: 0.05s;
        height: 35px;
        width: 100%;
        min-width: 100%;
        font-weight: normal;
        font-size: 10pt;
    }

select {
}

/* Search */
.search-input {
    border: 1px solid #ccc !important;
    border-bottom: 1px solid #ccc !important;
    border-left: 0px !important;
    border-right: 0px !important;
    height: 36px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding-left: 10px !important;
}

/* Login */
.loginimage {
    width: 53px;
}

/* News item holder home page */
.newsItemHolder {
    clear: both;
    padding-top: 10px;
}

    .newsItemHolder img {
        border-top-right-radius: 25px;
        height: 30vw;
    }

    .newsItemHolder > div:nth-child(2) {
        height: 27vw;
        padding: 0px;
        padding-right: 10px;
        overflow: hidden;
    }

    .newsItemHolder p {
        font-size: 2.5vw;
        min-height: 18vw;
    }


@media (min-width: 768px) {

    .newsItemHolder {
        clear: none;
        margin-top: 0px;
    }

        .newsItemHolder img {
            height: 147px;
        }

        .newsItemHolder > div:nth-child(2) {
            max-height: 147px;
            padding: 0px;
            overflow: hidden;
            font-size: 1em;
        }

        .newsItemHolder p {
            font-size: 1em;
            min-height: 160px;
        }
}


/* Toggle Switches */
.form-group .switch {
    margin-top: 5px;
}

.cmn-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

    .cmn-toggle + label {
        display: block;
        position: relative;
        cursor: pointer;
        outline: none;
        user-select: none;
    }

input.cmn-toggle-round-flat + label {
    padding: 2px;
    width: 50px;
    height: 25px;
    background-color: #dddddd;
    border-radius: 25px;
    transition: background 0.4s;
}

    input.cmn-toggle-round-flat + label:before,
    input.cmn-toggle-round-flat + label:after {
        display: block;
        position: absolute;
        content: "";
    }

    input.cmn-toggle-round-flat + label:before {
        top: 2px;
        left: 2px;
        bottom: 2px;
        right: 2px;
        background-color: #fff;
        border-radius: 25px;
        transition: background 0.4s;
    }

    input.cmn-toggle-round-flat + label:after {
        top: 4px;
        left: 4px;
        bottom: 4px;
        width: 18px;
        background-color: #dddddd;
        border-radius: 25px;
        transition: margin 0.4s, background 0.4s;
    }

input.cmn-toggle-round-flat:checked + label {
    background-color: #8ce196;
}

    input.cmn-toggle-round-flat:checked + label:after {
        margin-left: 24px;
        background-color: #8ce196;
    }



.home-items {
    background-color: #fff;
}

    .home-items i {
        /*color: #383838;*/
    }

    .home-items h3 {
        padding-bottom: 5px;
    }



.sponsors {
    background-color: #fff;
    margin-top: -20px;
}

    .sponsors > div > div {
        margin-right: 0px;
        padding-left: 30px;
    }

    .sponsors div div {
        position: relative;
    }

        .sponsors div div i {
            cursor: pointer;
            position: absolute;
            top: 30px;
            left: 0px;
            color: red;
            font-size: 24pt;
            display: none;
        }

        .sponsors div div:hover i {
            display: block;
        }

    .sponsors div img {
        height: 90px;
        padding: 10px;
    }


h1 {
    padding-bottom: 5px;
}

.btn-menu {
    padding-right: 0;
    margin-top: 10px;
}

    .btn-menu .btn {
        margin-bottom: 3px;
        display: block;
        width: 100%;
    }


.site-nav {
    height: 45px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    margin-top: 5px;
    padding-left: 0px;
    position: relative;
    z-index: 9999;
    top: -68px;
    left: 123px;
}

    .site-nav ul {
        list-style: none;
        margin-left: 0px;
    }



    .site-nav div > ul > li {
        float: left;
        margin-top: -9px;
    }

        .site-nav div > ul > li > a {
            color: #000;
            display: block;
            font-weight: bold;
            font-size: 13px;
            margin-right: 5px;
            background-repeat: no-repeat;
            background-size: 20px;
            background-position: 5px 12px;
            margin-left: 20px;
            padding-bottom: 0px;
        }

            .site-nav div > ul > li > a:hover {
                border-bottom: 2px solid #a0a0a0;
                text-decoration: none;
            }





.calendar h2 {
    font-size: 16pt;
    font-weight: bold;
    margin-top: 30px;
}

.calendar-item {
    border-bottom: 1px solid #ccc;
    padding: 1px 10px;
    position: relative;
    padding-left: 75px;
    min-height: 70px;
    padding-bottom: 20px;
    padding-top: 20px;
}

    .calendar-item h5 {
        font-weight: bold;
    }

    .calendar-item .calendar-date {
        position: absolute;
        border: 1px solid black;
        height: 50px;
        left: 10px;
        top: 30px;
        width: 50px;
        border-radius: 5px;
    }

    .calendar-item > div {
        word-wrap: break-word;
    }

    .calendar-item .calendar-date span:first-child {
        position: absolute;
        background-color: #ffcb00;
        color: #000 !important;
        font-weight: bold;
        height: 15px;
        left: 0px;
        top: 0px;
        padding-top: 1px;
        width: 48px;
        font-size: 7pt;
        text-align: center;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .calendar-item .calendar-date span:last-child {
        position: absolute;
        font-weight: bold;
        left: 0px;
        top: 12px;
        width: 48px;
        font-size: 20pt;
        text-align: center;
    }



.smaller {
    font-size: 9pt;
}

.carousel-inner span {
    font-size: 26pt;
    color: #fff;
    position: absolute;
    top: 280px;
    left: 0px;
    background-color: rgba(0,0,0,0.9);
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
}


.admin-news {
}

    .admin-news .panel-body {
        word-break: break-all;
    }

    .admin-news i {
        margin-top: -5px;
    }


    .admin-news .panel-heading input {
        font-weight: bold;
    }

.admin-calendar {
}

    .admin-calendar .panel-body {
        word-break: break-all;
    }

    .admin-calendar i {
        margin-top: -5px;
    }


    .admin-calendar .panel-heading input {
        font-weight: bold;
    }

.note-fontname.btn-group {
    display: none !important;
}

.note-editable {
    min-height: 200px;
}


.navbar-toggle .icon-bar {
    background-color: #000;
}

.navbar-toggle {
    background-color: #fff;
    margin-right: 0px;
    margin-top: 12px;
    position: absolute;
    top: 4px;
    right: 10px;
}

.navbar-collapse ul {
    margin-top: -1px;
    margin-bottom: 35px;
}

    .navbar-collapse ul li a {
        display: block;
        padding: 10px;
        margin-top: 1px;
        background-repeat: no-repeat;
        background-size: 20px;
        color: #000;
        background-color: #dddddd;
    }

.fb-badge a, .fb-badge a:hover {
    color: #fff;
    text-decoration: none;
}

.fb-badge {
    background-color: #3B5998;
    font-weight: bold;
    padding: 3px 10px 3px 35px;
    margin-right: 7px;
    font-size: 11pt;
    margin-top: 0px;
    float: left;
    position: relative;
    border-radius: 4px;
    color: #fff;
}

    .fb-badge:hover {
        background-color: #2e4474;
        cursor: pointer;
        color: #fff;
    }

    .fb-badge i {
        position: absolute;
        left: 5px;
        top: 2px;
        font-size: 18pt;
    }

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }




.scrolling-banner {
    height: 50px;
    margin-top: 5px;
    position: relative;
    right: 0px;
}

    .scrolling-banner ul li {
    }


.tickercontainer { /* the outer div with the black border */
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

    .tickercontainer .mask { /* that serves as a mask. so you get a sort of padding both left and right */
        position: relative;
        top: 12px;
        height: 50px;
        overflow: hidden;
    }

ul.newsticker { /* that's your list */
    position: relative;
    /*left: 750px;*/
    font: bold 16pt Verdana;
    list-style-type: none;
    color: #fff;
    margin: 0;
    padding: 0;
    -webkit-transition: all 0s linear;
    -moz-transition: all 0s linear;
    -o-transition: all 0s linear;
    transition: all 0s linear;
}

    ul.newsticker li {
        float: left; /* important: display inline gives incorrect results when you check for elem's width */
        margin: 0;
        padding-right: 50px;
        /*background: #fff;*/
    }


.header-quote {
    color: #424242;
    position: absolute;
    top: 180px;
    left: 180px;
    font-style: italic;
}


.side-images img {
    margin-bottom: 10px;
    border-radius: 3px;
    border: 2px solid #424242;
    width: 100%;
}



.contents-tabs a, .contents-tabs span {
    padding: 10px;
    float: left;
}

    .contents-tabs a.active, .contents-tabs span.active {
        background-color: #dddddd;
    }

.contents-area {
    clear: both;
    background-color: #dddddd;
    margin-bottom: 10px;
    padding: 10px;
}

.vertical-tabs div {
    padding: 10px;
    text-align: right;
}

.vertical-tabs .btn {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}

.vertical-tabs div.active, .vertical-tabs div:hover {
    background-color: #a0a0a0;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.vertical-content {
    background-color: #fff;
    margin-left: -15px;
    min-height: 200px;
    border-left: 4px solid #a0a0a0;
    padding: 10px;
}

.ta-scroll-window > .ta-bind, .ta-editor.ta-html, .ta-scroll-window.form-control {
    min-height: 100px !important;
}

.gallery-admin-item {
    width: 216px;
    height: 140px;
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    position: relative;
}

    .gallery-admin-item img {
        width: 200px;
        height: 140px;
        border: 2px solid #000;
    }

    .gallery-admin-item i {
        position: absolute;
        right: 20px;
        top: 3px;
        font-size: 24pt;
        color: red;
        cursor: pointer;
    }


.form-group {
    margin-bottom: 1px !important;
}

input.form-control, select.form-control, .input-group-addon {
    height: 24px !important;
    padding: 0px 5px;
}

.form-horizontal .control-label, .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline {
    padding-top: 3px !important;
}

.btn-sm, .btn-xs {
    padding: 1px 5px;
}

[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none !important;
}

.vertical-content label {
    margin-top: 5px;
}
