﻿body {
    background-color: #ffffff;
    /*background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);
    background-image: radial-gradient(#1fc8db 15%, #2cb5e8 40%, #0062cc 90%);
    background-image: radial-gradient(#00c6ff 15%, #0072ff 40%, #0062cc 90%);
    background-image: linear-gradient(141deg, #0062cc 15%, #00c6ff 51%, #0072ff 75%);*/
    height: 100%;
    min-height: 100vh;
}
.header .nav a:hover {
    color: rgba(255,255,255,.75);
}
.page {
    margin: 0px;
    border: none;
    height: 100%;
    min-height: calc(100vh - 151px);
    padding: 32px;
}
.page .main h2{
    text-align: center;
}
.header {
    background: #0072ff;
    background: #1f3c88;
}
.header .nav a, .header .nav li, .header .nav li span{
    color: #fff;
    font-size: 1.2em;
}
div.hideSkiplink, .footer{
    background: #043d74;
    background: #1f3c88;
    color: #fff;
} 
div.menu ul {
    padding-bottom: 2px;
}   
div.menu ul li a, div.menu ul li a:visited {
    background-color: transparent;
    font-size: 1.1em;
    border: none;
}
div.menu ul li a:hover,  div.menu ul.level2 li a{
    background-color: #5893D4;
    color: #fff;
}
div.menu ul.level1 > li > a 
{
    display: inline-block;
    padding: 4px 0px 4px 15px;
}
div.menu ul.level1 > li > a:after 
{
    width: 1px;
    height: 10px;
    /* border-left: 5px solid transparent; */
    background-color: #fff;
    /* border-top: 5px solid #fff; */
    /* float: right; */
    display: inline-block;
    /* vertical-align: middle; */
    /* top: 0; */
    /* margin-top: -17px; */
    /* margin-left: -8px; */
    content: ' ';
    margin-left: 15px;
}
div.menu ul.level1 > li:last-child > a:after 
{
    content: none;
}
div.menu ul.level2 li a{
    margin: 0;
}
div.menu ul.level2 li a:hover{
    background-color: #1f3c88;
}
div.menu {
    padding: 4px 8px;
}
.main {
    margin: 0 auto;
    height: 100%;
}
.footer {
    padding: 15px;
}
.login-wrapper {
    max-width: 500px;
    box-shadow: 0 0 10px #eee;
    padding: 32px;
    border: 1px solid #eee;
    margin: 32px auto;
    
}
.login-wrapper .form-check-input {
    margin-top: 0.1rem;
}
.login-wrapper .form-check {
    display: inline-block;
}
.login-wrapper .submitButton {
     padding-right: 0;
 }
 .nav li.padding-right-16 {
     line-height: 41px;
 }
 div.menu ul.level1 ul.level2 {
    left: 1px !important;
 }
 div.menu ul.level1 ul.level2 a {
    box-shadow: none;
 }
  
 .custom-btn-primary {
    border: 1px solid #375df6;
    background-color: #fff;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    color: #375df6;    
    min-width: 90px;
}
 .custom-btn-primary:hover {
    color: #fff;
    background-color: #375df6;    
}
.form-control-error-msg-wrapper {
    margin: -16px 0 16px;
}
.form-control-error-msg[style*="visibility:hidden"]{
    color: Red;
    position: absolute;
}
.form-control-error-msg[style*="visibility:visible"] {
    position: relative;
}
.input-group-text {
    min-width: 140px;
}
.input-group-validation {
    width: 100%;
}
.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  font-weight: normal;
}
.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
  display: none;
}
.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
  position: relative;
  text-indent: 3.25em;
  font-size: 1rem;
  padding: .375rem .75rem;
  width: 100%;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #e9ecef;
  border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #495057;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: '\2714';
  text-indent: .9em;
  line-height: 36px;
  color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
  color: #495057;
  font-size: 1rem;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  text-indent: .9em;
  line-height: 36px;
  color: #333;
  background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999;
}
.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
  color: #333;
  background-color: #ccc;
}

 /***** custom table *****/
 .custom-table{    
    border-radius: 10px;
    border-spacing: 0;
    border-collapse: collapse;
    border: none;
    font-size: 14px;
}
 .custom-table tr:first-child{    
   height: 50px;
}
.custom-table tr:first-child>th {
    border-top: 0;
}
.custom-table tr:first-child>th {
    vertical-align: bottom;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 8px;
    line-height: 1.42857143;
}   
.custom-table tr:first-child>th a {
    text-decoration: underline;
    color: #fff;
}
.custom-table tr td {
    border: none;
    border-top: 1px solid #ddd;
    padding: 8px;
    line-height: 1.42857143;
}  
.custom-table:not(:first-child):not(.not-alternate-rows)>tbody>tr:nth-child(odd) {
    background-color: #f9f9f9;
}
.custom-table.not-alternate-rows > tbody > tr:not(:first-child):not(:last-child):hover {
    background-color: #f9f9f9;
}
.custom-table>tbody>tr:first-child{    
    color: #ffffff;
    background: #5893d4;
}
.custom-table a.btn:link, .custom-table a.btn:visited {
    color: #fff;
        background-color: #428bca;
    border-color: #357ebd;
}

    .custom-table a.btn.btn-warning:link,
    .custom-table a.btn.btn-warning:visited {
        color: #fff;
        background-color: #ffc107;
        border-color: #ffc107;
    }

    .custom-table a.btn.btn-success:link,
    .custom-table a.btn.btn-success:visited {
        color: #fff;
        background-color: #28a745;
        border-color: #28a745;
    }

    .custom-table a.btn.btn-danger:link,
    .custom-table a.btn.btn-danger:visited {
        color: #fff;
        background-color: #dc3545 !important;
        border-color: #dc3545 !important;
    }

    .custom-table a.btn.btn-info:link,
    .custom-table a.btn.btn-info:visited {
        color: #fff;
        background-color: #17a2b8;
        border-color: #17a2b8;
    }

.custom-table.has-footer > tbody > tr:last-child {
    color: #ffffff;
    background: #5893d4;
}

 /***** new responsive menu *****/
 .navbar-dark .navbar-toggler{
     border-color:#17a2b8;
 }

.navbar {
   padding-top: 8px;
   padding-bottom: 8px; 
}
#HeadLoginView_HeadLoginStatus {
    line-height: 43px;
}

 /***** misk *****/
table {
  max-width: 100% !important;
}
 .padding-right-16 {
     padding-right: 16px;
 }
.padding-left-16 {
    padding-left: 16px;
}
 .padding-top-16{
     padding-top: 16px;
 }
.padding-top-8 {
    padding-top: 8px;
}
 legend {
     width: auto;
 }
 
 .pull-left 
 {
     float: left;
 }
 
 .pull-right 
 {
     float: right;
 }
 .bold{
     font-weight: 700;
 }
 
 /***** media query *****/ 
 @media only screen and (max-width: 991px){ /***** lg *****/ 
                                            
 }
 @media only screen and (min-width: 768px){ /***** md *****/ 
   .navbar-button-expand-md{
       display: none;
   }                                         
}
@media only screen and (max-width: 767px){ /***** md *****/ 
	.page {
	    padding: 16px 0;
        min-height: calc(100vh - 138px);
    }

	.main,.container{
		padding: 0;
	}
	.main{
		min-height: auto;
	}
	.login-wrapper{
		margin: 0 auto;
	}
	.header h1{
		font-size: 1.5em;
        padding: 0;
        width: 100%;
	}
	.navbar-collapse{
      position: absolute;
      background-color: #1f3c88;
      width: 100%;
      max-width: 250px;
      right: 0;
      border-top: 1px solid #17a2b8;
    }
    li.has-popup.static {
      float: none !important;
    }
    .navbar-collapse.collapse.show {
        /* position: absolute;
        z-index: 2 !important;
    }
    .navbar-collapse.collapse {
        z-index: 2 !important;*/
    }
    div.menu ul.level1 > li > a{
		padding: 8px 0 8px 15px;
	}
	div.menu ul.level1 > li > a:after{
	    display: none;
	   /* content: '\203A';
	    background: transparent;
	    width: 10px;
        height: 15px;
        display: inline-block;
        margin-rigth: 15px;
        float: right; */
	}
	div.menu ul.level1 > li > a {
       background-image:
        linear-gradient(45deg, transparent 50%, #dde4ec 50%),
        linear-gradient(135deg, #dde4ec 50%, transparent 50%),
        linear-gradient(to right, transparent, transparent);
      background-position:
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px),
        100% 0;
      background-size:
        5px 5px,
        5px 5px,
        2.5em 2.5em;
      background-repeat: no-repeat;
    }

    div.menu ul.level1 > li > a:focus {
      background-image:
        linear-gradient(45deg, #dde4ec 50%, transparent 50%),
        linear-gradient(135deg, transparent 50%, #dde4ec 50%),
        linear-gradient(to right, transparent, transparent);
      background-position:
        calc(100% - 15px) 1em,
        calc(100% - 20px) 1em,
        calc(100% - 2.5em) 0.5em;
      background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
      background-repeat: no-repeat;
      border-color: green;
      outline: 0;
    }
	div.menu ul li a.level1.highlighted{
		background-color: #5893D4;
	}
	div.menu ul.level1 ul.level2{
		left: 0px !important;
		width: 100%;
	}
	div.menu ul.level1 ul.level2{
		left: 0px !important;
		width: 100%;
		border-top: 1px solid;
		position: inherit !important;
	}
	div.menu ul.level1 ul.level2 a {
        padding-left: 30px;
	}
	div.menu{
		padding: 0;
		float: none !important;
	}
	div.menu ul {
        width: 100% !important;
    }
	.hideSkiplink > a{
		float: left;
	}
	.navbar{
		padding: 5px 0;
	}
	
}
@media only screen and (max-width: 576px){ /***** sm *****/ 
   table {
       width: 100% !important;
   }
}

.multiselect-container > li > a > label.checkbox {
    width: 360px;
}
.multiselect-container > li.disabled {
    display: none;
}
.btn-group > .btn:first-child {
    width: 200px;
}

a:link.repeater-link {
    color: #267CB2;
    font-weight: bold;
    padding-left: 2px;
    padding-right: 2px;
}

a:link.repeater-link:hover {
    text-decoration: underline;
}


/***** frozen header*****/
 .frozen-header{    
    border-radius: 10px;
    border-spacing: 0;
    border-collapse: collapse;
    border: none;
    font-size: 14px;
}
 .frozen-header tr:first-child{    
   height: 50px;
}
.frozen-header tr:first-child>th {
    border-top: 0;
}
.frozen-header tr:first-child>th {
    vertical-align: bottom;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 8px;
    line-height: 1.42857143;
}   
.frozen-header tr:first-child>th a {
    text-decoration: underline;
    color: #fff;
}
.frozen-header tr td {
    border: none;
    border-top: 1px solid #ddd;
    padding: 8px;
    line-height: 1.42857143;
}  
.frozen-header:not(.not-alternate-rows)>tbody>tr:nth-child(odd) {
    background-color: #f9f9f9;
}
.frozen-header.not-alternate-rows > tbody > tr:not(:first-child):not(:last-child):hover {
    background-color: #f9f9f9;
}
.frozen-header>tbody>tr:first-child{        
    background: #5893d4;
}
.frozen-header a.btn:link, .custom-table a.btn:visited {
    color: #fff;
        background-color: #428bca;
    border-color: #357ebd;
}

.frozen-header a.btn.btn-warning:link {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.frozen-header.has-footer > tbody > tr:last-child {
    color: #ffffff;
    background: #5893d4;
}

/*Pager styles*/
.pager-active-link {
    font-weight: 800 !important;
    text-decoration: underline !important;
}