﻿body {
    font-family: Tahoma;
    font-size: 15px;
    background: #DCDCDC !important;
    color: #393737;
    margin: 0;
}

#layout-content {
    width: 100%;
    display: block;
    margin: 3px auto;
    overflow: hidden;
    position: relative;
}

.body-part {
    width: 99.6%;
    padding: 5px 3px 7px;
    min-height: 200px;
}

.container table {
    width: 100%;
}

.banners {
    position: relative;
    min-height: 65px;
         margin:1px;
}

    .banners a {
        height: 65px;
        display: table;
        width:100%;
        z-index:1;
        transition: all 1.1s ease-in-out 0;
        overflow:hidden;
   
    }

    .banners img {
        width: 100%;
        z-index:10;
        height: 65px; 
        position: relative;
        margin: 2px 1px;
        overflow: hidden;
    }

    .banners .tip {
        z-index: 0;
      top:30%;
        display: block;
        position: absolute;
        min-height: 30px;
        padding: 5px;
        border-radius: 5px;
        white-space: pre-line;
    }

    .banners a:hover > .tip {
        z-index: 9999 !important;
        display: block;
        top: 102%;
        color: #369;
        background: #eee;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        transition: all 1.1s ease-in-out 0;
        min-width: 220px;
        width:100%;
    }

.text-links {
    max-width: 100%;
    text-align: left !important;
    line-height: 18px !important;
    border-width: 1px !important;
    min-height: 64px;
    max-height: 67px;
    overflow: hidden;
}

    .text-links .content {
        white-space: pre-line;
        font-size: 12px;
        font-weight: 400;
    }

.container table tr td {
    text-align: center;
}

.selectable {
    cursor: pointer;
}

.logo .dsc {
    display: block;
    width: 95%;
    font-size: 12px;
    margin: 20px;
    padding-top: 15px;
    font-family: Tahoma;
}

.menu-bar {
    padding: 0 5px;
    background-color: #1D2F45;
    display: inline-block;
    width: 100%;
}

    .menu-bar ul {
        border-radius: 5px;
        margin-top: 2px;
        margin-bottom: 2px;
        display: inline-table;
        padding-left: 0;
    }

.drp-mnu {
    display: none !important;
    top: 25px !important;
    z-index: 1000;
}

.langs .curLang {
    position: relative;
}

.flags {
    z-index: 111;
    padding-top: 9px;
    text-align: center;
}

    .flags img {
        height: 41px;
        width: 42px;
        opacity: 0.9;
        padding: 1px;
    }

        .flags img:hover {
            opacity: 1;
            height: 45px;
            width: 46px;
            margin: -2px;
        }

.langs .curLang:hover > ul {
    display: block !important;
    left: 0;
}

    .langs .curLang:hover > ul li a {
        color: #0A83CF;
        padding: 7px 9px;
    }

.header {
    width: 100%;
    position: relative;
    color: white;
    min-height: 170px;
    background-color: #00020F;
    background-image: linear-gradient(to bottom,#010006,#000626);
}

    .header #header {
        min-height: 60px;
        display: inline-table;
    }

    .header .navigation {
        width: 980px;
        margin: 0 auto;
        padding: 2px 16px;
    }

    .header .h-top {
        width: 100%;
        position: relative;
        display: block;
        background-color: #0F2B5A;
        line-height: 27px;
        min-height: 60px;
    }

        .header .h-top a {
            color: white;
        }

    .header .h-top-con {
        background-color: #0F2B5A;
        width: 100%;
        padding: 1px 3px;
        height: auto;
        display: inline-table;
    }

    .header .head-cats ul {
        list-style: none;
        padding: 4px;
        display: inline-block;
    }

    .header .head-cats li {
        display: inline-block;
        border-radius: 5px;
        background-color: #FFFFFF;
        margin: 5px;
        min-width: 70px;
        color: #465155;
    }

        .header .head-cats li > ul {
            display: none !important;
        }

        .header .head-cats li.current-cat {
            background-color: #5396d8;
        }

        .header .head-cats li a {
            padding: 7px 5px;
            cursor: pointer;
            display: block;
        }

        .header .head-cats li .collapse {
            display: none;
        }

.map-root {
    color: #0c2651;
    padding: 5px;
    margin: 4px;
    border-radius: 8px;
    font-size: 17px;
    height: auto;
}

    .map-root a {
        border-radius: 5px;
        color: #465155;
        background-color: #FFFFFF;
        margin: 5px;
        padding: 7px 5px;
        display: inline-block;
        cursor: pointer;
    }

#maincoursediv {
    max-width: 960px;
    margin: 2px auto;
    float: none !important;
}

.header .navigation li {
    display: inline-block;
    padding: 7px 5px;
    position: relative;
    transition: all .2s ease-in-out 0;
    cursor: pointer;
}

header .navigation li.active {
    background: none repeat scroll 0 0 #676D79;
    border-color: #676D79;
    color: #000;
}

.header .navigation li a {
    text-decoration: none;
    padding: 3px 3px;
    display: block;
    color: #EFEEEE;
    font-family: Tahoma;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
}

.header .navigation li:hover {
    background: none repeat scroll 0 0 #e0dada;
    border-radius: 3px;
}

    .header .navigation li:hover > a {
        color: #040e48;
    }

.header .online-members {
    display: inline-table;
    margin-bottom: 8px;
}

    .header .online-members span {
        background-color: #00527A;
        border-radius: 2px;
        padding: 6px 5px;
        margin: 2px;
        font-weight: bold;
    }

        .header .online-members span .digit {
            color: #E9E711;
        }

.header .logo {
    padding: 3px;
    margin: 3px;
    min-height: 25px;
}

    .header .logo img {
        height: 41px;
        font-size: 20px;
    }

.header .search {
    padding: 3px;
    display: block;
    vertical-align: middle;
}

    .header .search .cats {
    }

    .header .search .txt-search {
        min-width: 200px;
        border-radius: 3px;
        padding: 4px 6px;
    }

.header .navigation {
    left: 0px;
}

.header .dropdown {
    left: 0px;
}

.header.navigation li ul {
    display: none;
}

.header .navigation li:hover > ul {
    display: block;
    position: absolute;
    padding: 0;
    background-color: #e0d622;
}

.header .navigation li ul li {
    display: block;
    padding: 3px 6px;
}

    .header .navigation li ul li:hover {
        background-color: #f5a638;
    }

    .header .navigation li ul li a {
        display: block;
        white-space: nowrap;
        color: #040e48;
    }

#master {
    background: none repeat scroll 0 0 #F9F9F9;
    z-index: 1;
    display: block;
    width: 100%;
    overflow-x: hidden !important;
}

.home-content {
    width: 99%;
}

#footer {
    min-height: 170px;
    padding-bottom: 8px;
    padding-top: 8px;
    overflow: hidden;
    background: none repeat scroll 0 0 #1D2F45;
    border-color: #B0C8E3 #CCC #CCC;
    border-bottom: 1px solid #DDD;
    border-top: 1px solid #DDD;
    border-radius: 2px 2px 0 0;
    color: #EFEED7;
    font: 11px Tahoma;
    margin: 0 auto;
    position: relative;
    width: 100%;
    z-index: 1;
    padding-right: 2px;
    white-space: nowrap;
}

.copyright {
    background-color: #030216 !important;
    color: #fff;
    font-family: Tahoma;
    font-size: 9px;
    padding: 20px 2px;
}

    .copyright ul li {
        display: inline-table;
    }

        .copyright ul li a {
            text-decoration: none;
            font-size: 12px;
            padding: 7px;
            color: #fff;
        }

#footer .cols {
    float: left;
    max-width: 280px;
    width: 280px;
}

    #footer .cols ul {
        list-style: none;
        line-height: 22px;
        font-size: 13px;
    }

    #footer .cols a {
        text-decoration: none;
        color: #EFEED7;
        border-radius: 4px;
        display: block;
        font: 13px Tahoma;
        padding: 5px;
        text-decoration: none;
    }

.siteWidth {
    width: 100%;
    margin: 0 auto;
}

input[type=text], input[type=password] {
    background-color: #FFF;
    color: #3a3a3a;
    font-size: 14px;
    padding: 4px 5px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid #DDD;
    margin: 3px;
}

.headBtnSearch {
    padding: 6px 0px !important;
    font-size: 20px;
    border-radius: 10px;
    min-width: 36px !important;
    margin-top: -1px;
}

.frm-signin {
    background: none repeat scroll 0 0 #FBFAFA;
    border: 1px solid #DDD;
    border-radius: 6px 6px 6px 6px;
    color: #333;
    font: bold 13px Arial,sans-serif;
    padding: 11px 15px;
    display: inline-block;
}

.frm-title {
    padding: 7px;
    vertical-align: middle;
    border-radius: 5px 5px 0 0;
    background-color: #DDD;
    margin-bottom: 5px;
    color: #3F4C59;
    font: bold 13px 'Trebuchet MS',Arial,sans-serif;
}

a[role=button], .button, button {
    background: #68757B;
    border: 1px solid #68757B;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 2px 0 #68757B;
    color: #FFF;
    cursor: pointer;
    font-family: Tahoma;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    padding: 4px 7px;
    min-width: 50px;
    margin: 3px;
    display: inline-block;
    text-align: center;
}

.cke_button a {
    background: inherit;
    border: inherit;
    border-radius: inherit;
    box-shadow: inherit;
    color: inherit;
    cursor: pointer;
    font-weight: inherit;
    font-size: inherit;
    padding: initial;
    min-width: inherit;
    margin: inherit;
    text-align: center;
}

.button {
    outline-width: 0;
    overflow: visible;
    width: auto;
}

    a[role=button]:hover, .button:hover, button:hover {
        background-color: #758086;
    }

fieldset {
    border: none;
}

.web_dialog_overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000;
    opacity: .7;
    filter: alpha(opacity=25);
    -moz-opacity: .7;
    z-index: 101;
    display: none;
}

.web_dialog {
    display: none;
    position: fixed;
    width: auto;
    min-height: 100px;
    top: 30%;
    left: 40%;
    right: auto;
    background-color: #fff;
    border: 2px solid #369;
    padding: 0;
    padding-bottom: 10px;
    z-index: 102;
    font-family: Tahoma;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
}

    .web_dialog div {
        line-height: 23px;
        font-size: 12px;
        padding: 10px;
        white-space: nowrap;
    }

    .web_dialog img {
        width: 100%;
    }

    .web_dialog .time {
        display: none;
    }

    .web_dialog .title {
        margin-bottom: -24px;
        font-weight: 700;
    }

    .web_dialog .btnClose {
        padding: 6px;
        float: none;
        position: absolute;
        bottom: 5px;
        left: 45%;
    }

    .web_dialog .image-container {
        width: 94%;
    }

.web_dialog_title {
    border-bottom: solid 2px #369;
    background-color: #369;
    padding: 4px;
    color: #fff;
    font-weight: 700;
}

    .web_dialog_title a {
        color: #fff;
        text-decoration: none;
    }

.align_right {
    text-align: right;
}

.homeposts a {
    text-decoration: none;
    color: #f2e9e9;
    border-radius: 4px 4px 4px 4px;
    color: #3a3a3a;
    display: block;
    font: 12px Verdana,Arial,Helvetica,sans-serif;
    padding: 4px 5px;
    margin: 2px 0;
    text-decoration: none;
}

.per-friends {
    width: 24%;
    display: inline-block;
    text-align: center;
    background: none repeat scroll 0 0 #EDF1F5;
    border: 1px solid #DCE7F0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
    color: #3F4C59;
    font: bold 13px Tahoma,sans-serif;
    padding: 6px 8px;
    margin: 2px;
    float: right;
}

    .per-friends a {
        text-decoration: none;
    }

.friends-image {
    width: 100%;
    height: 190px;
}

.frmcon, .ptc_ads {
    border-radius: 5px;
    margin: 1px;
    background: none repeat scroll 0 0 #F1F1F1;
    border-bottom: 1px solid #E5E5E5 !important;
    border-image: none;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    border-top: 1px solid #FFF;
    color: #3F4C59;
    padding: 2px 4px;
}

    .frmcon .frm-title, .ptc_ads .frm-title, .frmcon .title_row, .ptc_ads .title_row {
        margin-right: -2px;
        margin-left: -2px;
    }

.title_row {
    padding: 7px;
    vertical-align: middle;
    border-radius: 5px 5px 0 0;
    background-color: #a70da9;
    margin-bottom: 5px;
    color: #f1f4f7;
    font: bold 13px 'Trebuchet MS',Arial,sans-serif;
}

.title_row_30 {
    padding: 7px;
    vertical-align: middle;
    border-radius: 5px 5px 0 0;
    background-color: #fcf00e;
    margin-bottom: 5px;
    color: #3F4C59;
    font: bold 13px 'Trebuchet MS',Arial,sans-serif;
}

.title_row_60 {
    padding: 7px;
    vertical-align: middle;
    border-radius: 5px 5px 0 0;
    background-color: #f37d25;
    margin-bottom: 5px;
    color: #FFF;
    font: bold 13px 'Trebuchet MS',Arial,sans-serif;
}

.typesdiv a {
    text-decoration: none;
}

textarea {
    font-size: 13px;
    border-radius: 1px;
    border: 1px solid #bbb1b1;
}

.control-label {
    font-family: Tahoma;
    font-size: 13px;
}

.form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

.pagination li > a, .pagination li > span {
    border-radius: 0;
}

.pagination > li {
    display: inline;
}

    .pagination > li > a, .pagination > li > span {
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #428bca;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
    }

    .pagination > li:first-child > a, .pagination > li:first-child > span {
        margin-top: 0px;
        margin-left: 0;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .pagination > li:last-child > a, .pagination > li:last-child > span {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
        color: #2a6496;
        background-color: #eee;
        border-color: #ddd;
    }

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #428bca;
    border-color: #428bca;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

select {
    min-width: 150px;
    padding: 5px;
    font-size: 16px;
    line-height: 1;
    border: 0;
    border-radius: 0;
    height: 34px;
    -webkit-appearance: none;
    margin-left: -10px;
    outline: none;
}

    select option {
        padding: 5px;
        font-weight: 400;
        background-color: #444;
        color: #FFF;
        border-radius: 3px;
        border: 1px solid #FFF;
        border-bottom: none;
    }

        select option:hover {
            cursor: pointer;
            background-color: #900909 !important;
            color: #f5f1f1;
        }

[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

    [type="checkbox"]:not(:checked) + label, [type="checkbox"]:checked + label {
        position: relative;
        padding-left: 21px;
        cursor: pointer;
        vertical-align: top;
    }

        [type="checkbox"]:not(:checked) + label:before, [type="checkbox"]:checked + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 2px;
            bottom: auto;
            width: 17px;
            height: 17px;
            border: 1px solid #aaa;
            background: #f8f8f8;
            border-radius: 3px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
        }

        [type="checkbox"]:not(:checked) + label:after, [type="checkbox"]:checked + label:after {
            content: '✔';
            position: absolute;
            left: 3px;
            top: -2px;
            font-size: 14px;
            color: #09ad7e;
            transition: all .2s;
        }

        [type="checkbox"]:not(:checked) + label:after {
            opacity: 0;
            transform: scale(0);
        }

        [type="checkbox"]:checked + label:after {
            opacity: 1;
            transform: scale(1);
        }

[type="checkbox"]:disabled:not(:checked) + label:before, [type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}

[type="checkbox"]:disabled:checked + label:after {
    color: #999;
}

[type="checkbox"]:disabled + label {
    color: #aaa;
}

[type="checkbox"]:checked:focus + label:before, [type="checkbox"]:not(:checked):focus + label:before {
    border: 1px dotted blue;
}

label:hover:before {
    border: 1px solid #4778d9 !important;
}

a {
    text-decoration: none;
}

#home-content h2 {
    padding: 0px 4px !important;
    font-size: 22px;
}

#MainPageTbl ul {
    padding: 3px 7px;
}

    #MainPageTbl ul li {
        padding: 5px 0;
        list-style-type: disc;
    }

@media (max-width: 480px) {
    #master, #header, #layout-content, .header .navigation, .siteWidth, .per-friends {
        width: 100%;
        max-width: 480px;
    }

    #footer .cols {
        width: 90%;
        max-width: 90%;
    }

    #MainPageTbl tr td {
        width: 90%;
    }

    .header .navigation li {
        width: 100%;
    }

    .homeposts h2 {
        width: 95% !important;
    }

    .panel-body .col-lg-6, .panel-body .col-md-6, .col-md-3, .col-md-4 {
        width: 100%;
    }

    .col-md-12 {
        width: 100%;
    }

    .panel-body {
        padding: 4px;
    }

    .header .h-top .h-top-con {
        position: relative;
    }

    .header .head-cats li {
        min-width: 100px;
    }
}

@media (min-width: 481px) and (max-width: 650px) {
    .header .h-top .h-top-con {
        position: relative;
    }

    .panel-body {
        padding: 6px;
    }

    #master, #header, #layout-content, .header .navigation, .siteWidth {
        width: 100%;
        max-width: 650px;
    }

        .siteWidth table tr td {
            display: block;
            min-width: 100%;
        }

    #footer .cols, .per-friends {
        width: 49%;
        max-width: 49%;
    }

    #MainPageTbl tr td {
        width: 50%;
    }

    .header .navigation li {
        width: 47%;
    }

    .homeposts h2 {
        width: 50% !important;
    }

    .col-sm-8 {
        display: block !important;
        float: right !important;
    }

    .panel-body .col-lg-6, .panel-body .col-md-6 {
        width: 99%;
    }

    .col-md-12, .col-md-3, .col-md-8, .col-md-9 {
        width: 97%;
    }
}



@media (min-width: 651px) and (max-width: 980px) {
    #master {
        width: 100%;
        max-width: 980px;
    }

    #header, #layout-content, .header .navigation, .siteWidth {
        width: 100%;
        max-width: 980px;
    }

        .header .navigation li {
            width: 20%;
            text-align: center;
        }

    .panel-body .col-lg-6, .panel-body .col-md-6 {
        width: 50%;
    }
}

@media (min-width:1200px) {
    #header, #layout-content, .header .navigation, .siteWidth {
        width: 1170px !important;
    }
}

.logo-url {
    padding-right: 20px;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable {
    -webkit-touch-callout: inherit;
    -webkit-user-select: inherit;
    -khtml-user-select: inherit;
    -moz-user-select: all;
    -ms-user-select: element;
    user-select: all;
}

.SiteMainCategories {
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 3px;
}

    .SiteMainCategories > ul {
        list-style: none;
        padding: 3px;
    }

    .SiteMainCategories ul > li {
        padding: 7px 5px;
        border-bottom: 1px solid #ccc;
    }

        .SiteMainCategories ul > li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .SiteMainCategories ul > li a {
            display: block;
            font-size: medium;
        }

.panel-heading {
    padding: 9px 7px 10px 8px;
}

.panel-info .panel-heading {
    background-color: #003e5d;
    color: #eee;
}

    .panel-info .panel-heading a, .panel-success .panel-heading a, .panel-danger .panel-heading a {
        color: #eee;
    }

.panel-warning .panel-heading a {
    color: #000;
}

.panel-success .panel-heading {
    background-color: #0b3d00;
    color: #eee;
}

.panel-danger .panel-heading {
    background-color: #620105;
    color: #eee;
}

.panel-warning .panel-heading {
    background-color: #ffce00;
    color: #eee;
}


.collapse {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.SiteMainCategories li ul {
    display: none;
}

.SiteMainCategories li a {
    width: 90%;
    display: inline-block !important;
}

.SiteMainCategories li.current-cat ul {
    display: block;
}

.SiteMainCategories li.current-cat {
    background-color: #f1f65a;
    font-weight: bold;
}
