html, body, .container-fluid {
    padding:0px !important;
    margin:0px !important;
}

body {
    min-height: 100vh;
}

html, body, div, p, td, th, input, textarea, li {
    font-size: 14px;
}

a {
    color: #FF6600;
}

.row {
    margin: 0px;
}

td, th {
   padding: 2px;
}

html, body, div, p, td, th, input, textarea, li {
  font-family: "Open Sans", sans-serif !important;
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Roboto", sans-serif !important;
}

h1 { font-size: 34px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }


.gradient-custom-2 {
/* fallback for old browsers */
background: #fccb90;

/* Chrome 10-25, Safari 5.1-6 */
background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);

/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}

@media (min-width: 768px) {
.gradient-form {
height: 100vh !important;
}
}
@media (min-width: 769px) {
.gradient-custom-2 {
border-top-right-radius: .3rem;
border-bottom-right-radius: .3rem;
}
}

#main-header-logo img {
    max-width: 90%;
    max-height: 120px;
}

/* Bootstrap Buttons */

.btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #FF6600;
    --bs-btn-border-color: #FF6600;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #FF6600;
    --bs-btn-hover-border-color: #FF6600;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #FF6600;
    --bs-btn-active-border-color: #FF6600;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #f2f2f2;
    --bs-btn-disabled-border-color: #f2f2f2;
}

/* END Bootstrap Butons */

/* NAV MENU */

#sidebar-nav {
   background-color: #000000;
}

#sidebar-nav li a {
    color: #ffffff;
}

.sidebar li .submenu{ 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	padding-left: 1rem; 
	padding-right: 1rem;
}
.sidebar .has-submenu > .xxnav-link:after{ 
	content: '';
        position: relative;
        top: 0.8em;
        left: 0.5em;
        border-top: 0.4em solid #999;
        border-left: 0.4em solid transparent;
        border-right: 0.4em solid transparent;
}
.sidebar .has-submenu > .nav-link:after{ 
    content: "";
    display: inline-block;
    position: relative;
    left: 0.5em;
    height: 0.4em;
    width: 0.4em;
    border-right: 1px solid #5e6e82;
    border-bottom: 1px solid #5e6e82;
    top: 0em;
    -webkit-transform: translateY(-50%) rotate(45deg);
    -ms-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    -webkit-transition: all 0s ease-in-out;
    transition: all 0s ease-in-out;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition-property: border-color, -webkit-transform;
    transition-property: border-color, -webkit-transform;
    transition-property: transform, border-color;
    transition-property: transform, border-color, -webkit-transform;
    
}
.sidebar .has-submenu.opened > .nav-link:after{ 
    transform: translateY(-50%) rotate(225deg);
    top: 0.2em;
}

/* END NAV MENU */



/* MAIN STRUCTURE */

#toggle-header {
    background-color: #000000;
    width: 100%;
    padding: 1em;
}

#toggle-header button {
    /* background-color: #FF6600;
    color: #ffffff; */
    color: #ffffff;
    background: none;
    border: none;
}

#left-page-nav, #page-content {
    min-height: 100vh;
}

#left-page-nav.col-md-2 {
    background-color: #000000;
    width: 12%;
    flex: 0 0 12%;
    max-width: 12%;
    padding: 0px !important;
}

#page-content.col-md-10 {
    width: 88%;
    flex: 0 0 88%;
    max-width: 88%;
    padding: 0px !important;
}

#page-content-window {
    padding: 1em;
}


#page-content.in{
    width: 100%;
}

#left-page-nav.in {
    display: none;
}

@media screen and (max-width: 720px) {
    #left-page-nav.col-md-2 {
        width: 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    #page-content.col-md-10 {
        width: 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
   
}

/* END MAIN STRUCTURE */

.link-btn {
    background: none !important;
    padding: 0px !important;
    margin: 0px !important;
    border: none !important;
    cursor: pointer;
}

.record_card {
    border: solid 1px #f2f2f2;
    box-shadow: 5px 5px 15px #f2f2f2;
    border-radius: 1em;
}

.ui-dialog-titlebar-close {
    padding:0 !important;
}

.ui-dialog-titlebar-close:after {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    /* Change path to image*/
    background-image: url(https://portal.adtvnetwork.com/css/ui-icons.png);
    background-position: -96px -128px;
    background-repeat: no-repeat;
}

/* Datatables */

.dt-container .active>.page-link, .dt-container .page-link.active {
    color: #ffffff;
    background-color: #FF6600;
    border-color: #FF6600;
}

/* END Datatables */

/* Agreement Form */

.agreement_locations .location_header div {
    font-weight: bold;
}

.agreement_locations .location {
    padding: 1em;
}

.agreement_locations .location:nth-child(odd) {
    background-color: #f2f2f2;
}

/* END Agreement Form */


.thumbnail {
    max-width: 192px;
    max-height: 108px;
}

.video_thumbnail {
    display: inline-block;
    background: #f8f8f8;
    max-width: 192px;
    width: 192px;
    max-height: 192px;
    height: 108px;
    text-align: center;
}

.video_thumbnail i {
    margin-top: 20%;
    font-size: 2em;
}

.small_thumbnail {
    max-width: 96px;
    width: 96px;
    max-height: 96px;
    height: 54px;
}

.video_thumbnail.small_thumbnail i {
    font-size: 1em;
}

.form-group .select2 {
    display: block;
    width: 100% !important;
    padding: 0px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-group input, .form-group select, .form-group textarea, .form-group .select2 {
    margin-bottom: 1em !important;
}

@media screen and (max-width: 680px) {
    .form-group input, .form-group select, .form-group textarea, .form-group .select2 {
        margin-bottom: 1.6em !important;
    }
}

/** Campaign Media List **/
.campaign_media .row.media {
    margin-bottom: 5px;
}

.campaign_media .media_header {
    font-weight: bold;
}

.campaign_media .media:nth-child(even) {
    background-color: #f8f8f8;
}

/** END Campaign Media List **/


/** status circles **/
.circle {
    width: 12px;
    height: 12px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    font-size: 0px !important;
    margin: 0 auto;
}
.green_bg {
   background: green;
   color: #fff;
}

.red_bg {
   background: red;
   color: #fff;
}

/** END status circles **/

/** Display Reboot Styling **/
.rebootInactive i {
    color: #f2f2f2;
}

.rebootActive i {
    color: green;
}

/** END Display Reboot Styling **/

/** Dashboard **/

.page-dashboard #displays_table button.viewLoop, .page-dashboard #displays_table button.rebootDisplay {
    padding: 2px 12px;
    font-size: 0.9em;
}

@media screen and (max-width: 680px) {
    .page-dashboard #displays_table button.viewLoop, .page-dashboard #displays_table button.rebootDisplay {
        margin-bottom: 10px !important;
    }
}

.page-dashboard #displays_table td, .page-dashboard #displays_table th {
    padding: 4px 2px;
    vertical-align: middle;
}

/** END Dashboard **/