﻿body {
    padding-top: 40px;
    padding-bottom: 20px;
}

@media (max-width: 767px) {
    .top-menu {
        top: 6px;
        right: 52px;
        width: 100%;
    }
    .top-menu>.navbar-nav>li {
        float: none!important;
    }
}

@media (min-width: 768px) {
    .top-menu {
        margin-right: -15px;
    }
    .top-auth-menu {
        margin-left: auto;
    }
}

/*Start of AG AIMS CSS*/
body, form {
    /*     padding: 0;
            margin: 0;
            overflow: hidden;*/
    /*margin-top:100px;*/
    min-height: 200px;
    min-width: 360px;
}

.grid {
    margin: 0 auto;
}

.BootstrapGridViewCustomHeaderStyle {
    background-color: #e9e9e9;
}

   
.BootstrapGridViewCustomHeaderStyle a 
    {
        color: #808080;
        font-weight: normal;
        text-align:center;
    }

.BootstrapGridView-AllowWrap {
    white-space: normal !important;
    /*word-break: break-all;*/
}

.custom-detail-cell {
    overflow-x: auto;
}


.BootstrapGridViewTable .dxbs-details-row.dxgvADR .dxgvADT.table td {
    white-space: normal !important;
}

/*.grid-nowrap-row {
    white-space: nowrap;
}*/

/*Swal messagebox*/
.btn-msgbox-error {
    padding: 10px 10px 10px 10px;
    border: 1px solid #808080 !important;
    background-color: #e2e2e2;
    width: 100px;
    font-weight: bold;
}

.SubSectionHeader {
    font-size: 14pt !important;
    font-weight: bold !important;
    color: #808080 !important;
    border-bottom: 1px solid #808080;
}


.centered {
    margin: 0 auto;
    float: none !important;
    display: table;
}

.welcome-header
{
    font-size:14pt;
    color:#808080;
}

.logout-message {
    font-size: 14pt;
    color: #808080;
}

.page-header {
    font-size: 16pt;
    color: #808080;
    /*font-weight:bold;*/
    margin-bottom:20px!important;
}


.clsAppFormSectionHeader {
    background-color: lightgray;
    text-align: left;
    padding: 10px;
    font-weight: bold;
    /*margin-top: 20px;*/
    margin-bottom: 20px;
}



.ClsApplyNewCourseButton {
    display: block;
    width: 160px;
    height: 40px;
    background: #4E9CAF;
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    color: white;
    /*font-weight: bold;*/
}

.ClsApplyNowbutton {
    display: block;
    width: 150px;
    height: 40px;
    background: #5dade2;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    /*font-weight: bold;*/
}

.ClsApplyNowbutton a:hover {
    color: white;
    vertical-align: middle;
    text-decoration: none;
}

.ClsApplyNowbutton a:visited {
    color: white;
    vertical-align: middle;
    text-decoration: none;
}

.ClsApplyNowbutton a:link {
    color: white;
    vertical-align: middle;
    text-decoration: none;
}


table.clsFexiTable {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: auto;
}

    table.clsFexiTable caption {
        font-size: 1.5em;
        margin: .5em 0 .75em;
    }

    table.clsFexiTable tr {
        background-color: #ffffff;
        border: 1px solid #ddd;
        padding: .35em;
    }

    table.clsFexiTable th, td {
        padding: .625em;
        text-align: center;
    }

    table.clsFexiTable th {
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    table.clsFexiTable thead {
        background-color: #0088cc;
        color: #FFFFFF;
    }

.clsFexiTableHeader {
    background-color: #0088cc;
    color: #FFFFFF;
}

.BootstrapLayoutItemCaption {
    /*font-weight:normal!important;*/
    font-weight:bold;
    color:#353535;
}

.page-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    /* background-color: red; */
    /* color: white; */
    text-align: center;
}
.BootstrapLayoutItemCaption-Header {
    font-size: 18pt;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
    color: #0053FF;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 5px;
}
.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 15;
}
@media screen and (max-width: 600px) {
    .loader {
        border: 6px solid #f3f3f3;
        border-radius: 50%;
        border-top: 6px solid #3498db;
        width: 40px;
        height: 40px;
        -webkit-animation: spin 1s linear infinite; /* Safari */
        animation: spin 1s linear infinite;
        position: fixed;
        top: 55%;
        left: 45%;
        z-index: 15;
    }
}

    /* Safari */
    @-webkit-keyframes spin {
        0% {
            -webkit-transform: rotate(0deg);
        }

        100% {
            -webkit-transform: rotate(360deg);
        }
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .page-center {
        position: fixed;
        top: 50%;
        left: 50%;
    }



#TopBtn {
    /*display: none;*/
    bottom: 50px;
}

    #TopBtn:hover, #BottomBtn:hover {
        background-color: gainsboro;
    }

#TopBtn, #BottomBtn {
    position: fixed;
    right: 30px;
    z-index: 9999;
    font-size: 12px;
    border: none;
    outline: none;
    background-color: lightgray;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}
@media screen and (max-width: 1024px) {
    #TopBtn, #BottomBtn {
        position: fixed;
        right: 10px;
        z-index: 9999;
        font-size: 12px;
        border: none;
        outline: none;
        background-color: lightgray;
        color: white;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
    }
}
@media screen and (max-width: 600px) {
    #TopBtn, #BottomBtn {
        position: fixed;
        right: 5px;
        z-index: 9999;
        font-size: 12px;
        border: none;
        outline: none;
        background-color: lightgray;
        color: white;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
    }
}


#BottomBtn {
    bottom: 20px;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.sub-groupheader {
    text-decoration:underline;
    font-weight:bold;
    font-size:small;
}

.stick-group-header{
    margin-top:-4%;
}

@media screen and (max-width: 1024px) {
    .stick-group-header {
        margin-top: -6%;
    }  
}
@media screen and (max-width: 600px) {
    .stick-group-header {
        margin-top: -9%;
    }
}