/*
Author URI: http://webthemez.com/
Note: Licence under Creative Commons Attribution 3.0
-------------------------------------------------------*/
@import url('animate.css');

@media only screen and (max-width: 1100px) {
    #container .main {
        width: 90%;
    }

    #container .alert {
        width: 90%;
    }

}

@media only screen and (max-width: 800px) {
    #container .main {
        width: 90%;
    }

    #container .alert {
        width: 90%;
    }

}

body {
    font-family: Tahoma, Helvetica, Arial, sans-serif;
    font-weight: normal;
    line-height: 1.6em;
    color: #959595;
    font-size: 13px;
    background: #eee url(../img/sativa.png);
    background-repeat: repeat;
    background-size: 150px;
}

a {
    color: #3f51b5;
    text-decoration: none;
}

th, td {
    white-space: nowrap;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a:focus {
    outline: none;
    outline-offset: none;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-menu {
    padding: 5px 10px !important;
}

.dropdown-submenu .add {
    float: right;
    margin-top: 3px;
}

.dropdown-submenu > ul > li > a, .dropdown > ul > li > a {
    border-bottom: 1px solid #f5f5f5;
    padding: 3px 10px;
}

.animated {
    animation-duration: 0.4s;
}

.clear {
    clear: both;
}

h1, h2 {
    font-weight: 600;
    line-height: 1.1em;
    color: #252525;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h3, h4, h5, h6 {
    line-height: 1.1em;
    color: #212121;
    margin-bottom: 20px;
}

input, button, select, textarea {
    border-radius: 0px !important;
}

input[type="radio"] {
    vertical-align: super;
}


input[type="radio"] + label {
    font-weight: normal;
    vertical-align: super;
}

input[type="radio"]:checked + label {
    font-weight: bold !important;
}

/* scroll to top */
.scrollup {
    position: fixed;
    width: 32px;
    height: 32px;
    bottom: 0px;
    right: 20px;
    background: #205ba9;
}

a.scrollup {
    outline: 0;
    text-align: center;
}

a.scrollup:hover, a.scrollup:active, a.scrollup:focus {
    opacity: 1;
    text-decoration: none;
}

a.scrollup i {
    margin-top: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

a.scrollup i:hover {
    text-decoration: none;
}

#menu {
    width: 36px;
    height: 36px;
    background: #205ba9;
    position: absolute;
    top: 30px;
    left: 30px;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.75);
    z-index: 10;
    opacity: 0.2;
}

#menu:hover {
    opacity: 1.0;
}

#container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px !important;
    min-height: 700px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background: white;
    overflow: auto;
}

#container #main {
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #205ba920;
    padding: 20px;
    background: #e1eeff;
    border-radius: 5px;
}

#container #tool {
    font-size: 18px;
    padding: 7px 20px 3px;
    overflow: auto;
    background: #e1eeff;
    border: 1px solid #bad8ff;
    border-radius: 5px;
    margin-bottom: 10px;
}

#container .main .left {
    float: left;
}

#container .main .right {
    float: right;
}

#container .main .right a {
    padding: 0 10px;
}

#container #add {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

#container .add {
    margin: 10px auto 20px auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

#container .add .modal-header {
    text-align: center;
    font-weight: bolder;
    background: #e1eeff;
    color: #428bca;
    border: 1px solid #c3ddff;
    border-bottom: none;
}

#container .add .modal-body {
    border: 1px solid #c3ddff;
    border-bottom: none;
}

#container .add .modal-footer {
    border: 1px solid #c3ddff;
    background: #e1eeff;
    border-top: none;
    text-align: center;
    padding: 5px 15px;
}

/*Class only*/

.width-50 {
    width: 50% !important;
    margin-left: auto;
    margin-right: auto;
}

.width-60 {
    width: 60% !important;
    margin-left: auto;
    margin-right: auto;
}

.width-70 {
    width: 70% !important;
    margin-left: auto;
    margin-right: auto;
}

.width-80 {
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
}

.width-90 {
    width: 90% !important;
    margin-left: auto;
    margin-right: auto;
}

.width-100 {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

.modal-content table label {
    margin-top: 8px;
}

.dataTable {
    background-color: #ebebeb !important;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    right: 2px !important;
}
table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting {
    padding-right: 20px !important;
}

table.table-bordered.dataTable tr th {
    background: #ddd;
    border-color: #fff !important;
    border-bottom-color: #ddd !important;
    text-align: center;
}

.dataTable > tbody > tr > td:nth-child(2) {
    text-align: left !important;
}

.dataTable > tbody > tr > td {
    padding-bottom: 5px !important;
}

table.table-bordered.dataTable tr th:nth-child(2) {
    padding-left: 0px !important;
}

table.table-bordered.dataTable tr td:last-child {
    /*position: absolute;*/
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

table.table-bordered.dataTable > tbody > tr > td:nth-child(1) {
    text-align: center;
    padding-left: 0px;
    padding-right: 3px;
}

table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable td:last-child, table.table-bordered.dataTable td:last-child {
    border-right-width: 1px;
}

.tab-content {
    border: solid 1px #e8e8e8;
    border-radius: 5px;
    padding-top: 15px;
}

.fa-male {
    font-size: 20px;
    color: #205ba9;
}

.fa-female {
    font-size: 20px;
    color: #ff007f;
}

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    padding-right: 15px;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    right: 2px;
}

/*Modal*/
.modal-header {
    background: #428bca;
    text-align: center;
    color: white;
    font-size: 16pt;
    text-transform: uppercase;
    border-radius: 6px 6px 0px 0px;
    border-bottom: 2px solid #005cab;
    padding-bottom: 10px;
}

.modal-header h4 {
    font-size: 18px;
    font-weight: bold;
}

modal-body table {
    margin: auto;

}

.modal-body table tr:nth-child(1) > td:nth-child(1) {
    border-top: solid 1px #e0e0e0;
}

.modal-body table tr > td:nth-child(1)::after {
    content: " :";
}

.modal-body table tr > td {
    color: #515151 !important;
}

.modal-body table tr > td:nth-child(2) {
    width: 100%;
}

.modal-body table tr > td:nth-child(1) {
    width: 30%;
    background: #f5f5f5;
    border-right: solid 2px #e0e0e0;
    text-align: right !important;
    padding-right: 10px !important;
    color: #515151;
}

.modal-body table tr {
    height: 35px;
    border: solid 1px #e0e0e0;
    border-top: none;
}

.modal-body select, .modal-body input {
    width: -webkit-fill-available;
    border: solid 1px #fff;
    /*margin: 2px 10px 2px 10px;*/
    /*height: 30px;*/
    padding: 0px !important;
    padding-left: 10px !important;
    margin: 0px !important;
    border-radius: 0px !important;
    color: #515151;
    font-weight: 600;
    font-size: 12px !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
}

.modal-body td i {
    font-size: 17px;
    line-height: 37px;
    vertical-align: middle;
}

.modal-body input[type=date] {
    width: 42%;
}

.modal-body input[type=radio] {
    margin-top: 5px !important;
    margin-left: 20px !important;
}

.modal-body table tr:nth-child(1) {
    border-top: solid 1px #e0e0e0;
}

.modal-footer {
    background: #428bca;
    font-size: 16pt;
    text-transform: uppercase;
    border-radius: 0px 0px 6px 6px;
    border-bottom: 2px solid #005cab;
    padding: 5px 20px 5px;
}

.modal-content {
    border: none;
}

