/*
* main.css
*/

:root {
    --grey100: #f6f8fa;
    --grey200: #c4c6c9;
    --grey300: #6a6b6d;
}

/* Reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,label,input,textarea,p,blockquote,th,td {  
	margin:0; 
	padding:0; 
	}
table { 
	border-collapse:collapse; 
	border-spacing:0; 
	}
fieldset,img {  
	border:0; 
	}
address,caption,cite,code,dfn,em,strong,th,var { 
	font-style:normal; 
	font-weight:normal; 
	}
ol,ul,li { 
	list-style:none; 
	margin: 0;
	padding: 0;
	}
caption,th { 
	text-align:left; 
	} 
h1,h2,h3,h4,h5,h6 { 
	font-size:100%; 
	font-weight:normal; 
	} 
q:before,q:after { 
	content:''; 
	} 
abbr,acronym { 
	border:0; 
	} 
a {
	text-decoration: none;
	}
img {
	display: block;
	vertical-align: middle;
	max-width: 100%;
	}

* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
	box-sizing: border-box;
	}

html {
	font-size: 100%;
	height: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 156px;
	}
body {
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	font-size: 16px;
	line-height: 1.3;
	background: #ffffff;
	}

body, input, textarea, table {
	font-family: var(--body-font);
	font-weight: var(--body-light);
	font-style: normal;
	color: var(--black);
	}


/* ----- [] ----- */
html{
    /*font-size: 18px;*/
    height: 100%;
} 

*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
    margin-bottom: 1em;
    max-width: 640px;
}

p,
li {
	font-size: 1.1rem;
	margin-bottom: 1em;
	}

h1,
h2 {
    margin-top: 16px;
}

h1,
h2 {
	font-size: 1.5rem;
	font-weight: bold;
	}
h3 {
	font-size: 1.17rem;
	font-weight: bold;
	}

hr {
    border-color: transparent;
    border-style: none;
    border-width: 0px;
    height: 1px;
    background-color: var(--grey200);
}

a,a:visited {
	color: #59a8df;
	text-decoration: none;
	}
a:hover {
	/* color: #59a8df; */
	text-decoration: underline;
	}

#cp-modules-wrapper a {
	color: #000;
	} 

.TextformatterVideoEmbed {
	max-height: 200px;
	border: 1px solid grey;
	}

button,
.button {
    border: none;
    background: none;
    font-size: 1.1rem;
}
button:hover,
.button:hover {
    text-decoration: underline;
}

.button {
    padding: 1px 6px;
    text-decoration: none;
}
.button:visited {
    color: black;
}

form > * {
    margin-bottom: 16px;
}

label {
    line-height: 1.2;
    font-size: 1.1rem;
    color: var(--grey300);
    padding: 6px 0 0;
}

input,
textarea,
select {
    border: 1px solid var(--grey200);
    border-radius: 6px;
    padding: 4px 6px;
    min-height: 30px;
    line-height: 1;
    font-size: 1.1rem;
}
input:disabled,
textarea:disabled {
    background-color: transparent;
    /* border: none; */
}

input[type="checkbox"] {
    min-height: auto;
    border: 1px solid var(--grey200);
}

.button-ps {
	font-size: 1rem;
	padding: 0.5em 1em;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #ddd;
	text-decoration: none;
	cursor: pointer;
	font-weight: bold;
	}
.button-ps:hover,
.button-ps:active {
	background: #ccc;
	text-decoration: none;
	}
.button-right {
	float: right;
	}
.button-secondary {
	color: #222;
	background: none;
	}

/* [Utility Classes]------------------------------------------------- */

.muted {
    color: #6a6b6d;
}
.small {
    font-size: 0.9rem;
}
.hidden {
    display: none;
}

/* [End Utility Classes]-------------------------------------------------*/

#dimmer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: #6a6b6d71;
    display: none;
}

#dashboard {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: 100px auto;
}

#dashboard > header {
    /*border: 1px solid red;*/
    border-bottom: 1px solid var(--grey200);
    padding-left: 50px;
    background-color: var(--grey100);
    grid-column: span 2;
    display: flex;
    align-items: center;
}
#dashboard header h1{
    margin-right: 60px;
    font-size: 1.2rem;
    display: inline-block;
}

.view-panel {
    padding-top: 100px;
    padding-left: 7vw;
    padding-right: 7vw;
}
.output-view {
    width: 100%;
    height: calc(100vh - 300px );
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 150px;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, 0);
    border-radius: 12px;
    border: 1px solid var(--grey200);
    padding: 30px;
    width: 800px;
    max-width: 90vw;
    background-color: var(--grey100);
    display: none;
}


/* ----- [ Control Panel ------ */]
#control-panel-toggle {
    display: none;
}
#control-panel {
    border-right: 1px solid var(--grey200);
    /*background-color: lavender;*/
    padding-top: 30px;
    padding-left: 50px;
    padding-right: 20px;
    background-color: #f6f8fa;
    /*color: #E6EDF3;*/

    overflow-y: auto;
    max-height: calc(100vh - 100px);
}
#control-panel h2 {
    margin-bottom: 8px;
}
#control-panel h3 {
    margin-bottom: 16px;
}
.cp_module-btn,
#moduleAdminPanel-btn, 
#addInstructor-btn,
#addStudent-btn {
    padding: 0;
    margin-bottom: 12px;
    text-align: left;
}

#cp-admin-wrapper {
    display: none;
}

@media only screen and (max-width: 1110px) {
    #control-panel {
        display: none;
        /*visibility: hidden;*/
    }
    #control-panel-toggle {
        position: fixed;
        z-index: 1000;
        display: block;
        top: 110px;
        background: var(--grey300);
        color: white;
    }
}

/* ----- [ Tabs Navigation ] ------ */
/*
.tabs-navigation button {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 10px;
    color: #999;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight:700
}
*/
.tabs-navigation {
	border-bottom: 1px solid #ccc;
	}
.tabs-navigation button {
	border: 1px solid #ccc;
	border-radius: 5px 5px 0 0;
	margin-bottom: -1px;
	padding: 5px 12px;
	}
.tabs-navigation button:hover {
    text-decoration: none;
    border-bottom: 1px solid #fff;
}
.tabs-navigation button.selected {
	color:#000;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}



.tabs-content {
}

.tabs-content > div {
    /*text-align: left;
    padding: 0;*/
    display:none
}

.tabs-content > div.selected {
    display: block;
    -webkit-animation: cd-fade-in .5s;
    -moz-animation: cd-fade-in .5s;
    animation:cd-fade-in .5s
}




/*Student Table styles*/
.table,
.student-table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}
.table tbody tr,
.student-table thead tr,
.student-table tbody tr {
    height: 40px;
    border-bottom: 1px solid var(--grey300);
    cursor: pointer;
}
.table tbody tr:nth-of-type(even),
.student-table tbody tr:nth-of-type(even) {
    background-color: var(--grey100);
}
.table tbody tr:hover,
.student-table tbody tr:hover {
    background-color: var(--grey200);
}

.table td,
.table th,
.student-table td,
.student-table th {
    text-align: left;
    padding-right: 1rem;
}

.table th {
    font-size: 1.15rem;
}

/* Hide download links with href containing "null" */
a[href*="null"] {
    display: none;
  }
  

/*#region [PreLoader]---------------------------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: white;
}

#preloaderCircle {
    position: fixed;
    top: calc(50% - 120px);
    left: calc(50% - 120px);
    width: 240px;
    height: 240px;
    border-radius: 50%;
   
    box-shadow: 16px 0 1px -16px  #3766ff,
                16px 0 1px -16px  #3766ff,
                16px 0 2px -16px  #3766ff,
                16px 0 32px -32px #134afe,
                16px 0 12px -12px #134afe,
                16px 0 44px -44px #134afe,
                inset -16px 0 20px -20px #3766ff,
                16px 0 16px -16px #134afe;
    
    
    -webkit-animation: spinner infinite 1s linear;
    animation: spinner infinite 1s linear;
}

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner{
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/*#endregion [PreLoader]---------------------------------------------------------------------------------*/

/*#region [Mobile]---------------------------------------------------------------------------------*/
@media only screen and (max-width: 1110px) {
    #dashboard {
        grid-template-columns: 0px 1fr;
    }
    button{
        margin-bottom: 16px;
    }
    .modal {
        position: fixed;
        top: 50px;
        left: 50%;
        z-index: 200;
        transform: translate(-50%, 0);
        border-radius: 12px;
        border: 1px solid var(--grey200);
        padding: 30px;
        width: 800px;
        max-width: 90vw;
        background-color: var(--grey100);
        display: none;
    }
}
/*#endregion [Mobile]---------------------------------------------------------------------------------*/
