 html, body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    overflow-x : hidden;
    background : #E8E8DE;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    position: relative;
    height: 100%;
    width: 100%;
    left: 0;
    -webkit-transition:  left 0.4s ease-in-out;
    -moz-transition:  left 0.4s ease-in-out;
    -ms-transition:  left 0.4s ease-in-out;
    -o-transition:  left 0.4s ease-in-out;
    transition:  left 0.4s ease-in-out;
}

.container.open-sidebar {
    left: 240px;
}

.swipe-area {
    position: absolute;
    width: 50px;
    left: 0;
    top: 0;
    height: 100%;
    background: #f3f3f3;
    z-index: 0;
}
#sidebar {
    background: #C8AF90;
    position: absolute;
    width: 240px;
    height: 100%;
    left: -240px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
	overflow-y: auto;
    overflow-x: hidden;
}


.main-content {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
    background : #E8E8DE;
}
.main-content .content{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-left: 60px;
    width: 100%;
}
.main-content .content h1{
    font-weight: 100;
}
.main-content .content p{
    width: 100%;
    line-height: 160%;
}
.main-content #sidebar-toggle {
    background: #B6906D;
    border-radius: 3px;
    display: block;
    position: relative;
    padding: 10px 7px;
    float: left;
}
.main-content #sidebar-toggle .bar{
    display: block;
    width: 18px;
    margin-bottom: 3px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;   
}
.main-content #sidebar-toggle .bar:last-child{
    margin-bottom: 0;   
}
.main-content
{
    -webkit-transition:  width 0.3s ease-in-out;
    -moz-transition:  width 0.3s ease-in-out;
    -ms-transition:  width 0.3s ease-in-out;
    -o-transition:  width 0.3s ease-in-out;
    transition:  width 0.3s ease-in-out;
}
.container.open-sidebar .main-content
{
    width : calc(100% - 240px);
    -webkit-transition:  width 0.3s ease-in-out;
    -moz-transition:  width 0.3s ease-in-out;
    -ms-transition:  width 0.3s ease-in-out;
    -o-transition:  width 0.3s ease-in-out;
    transition:  width 0.3s ease-in-out;
}
#load-content
{
    margin : auto; 
    display : block; 
    border : 0;             
}

#sidebar ul, #sidebar li
{
    margin : 0;
    padding : 0;
}
#sidebar li
{
    list-style-type : none;
}
#sidebar li.button a
{
    padding: 15px 20px;
    color: white;
    font-weight : bold;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #EFE6D6;
    -webkit-transition:  background 0.3s ease-in-out;
    -moz-transition:  background 0.3s ease-in-out;
    -ms-transition:  background 0.3s ease-in-out;
    -o-transition:  background 0.3s ease-in-out;
    transition:  background 0.3s ease-in-out;
}
#sidebar li.button a:hover
{
    background: #B6906D;
}
#sidebar li.dropdown
{
    display : none;
}
#sidebar li.dropdown a.lecture
{
    background: url(../images/lecture.png) no-repeat 21px 5px;
    background-color: #B6906D;
    background-size : 17px 17px;
}
#sidebar li.dropdown a.test
{
    background: url(../images/test.png) no-repeat 22px 5px;
    background-color: #B6906D;
    background-size : 15px 15px;
}
#sidebar li.dropdown a.presentation
{
	background: url(../images/flow.png) no-repeat 22px 5px;
    background-color: #B6906D;
    background-size : 15px 15px;
}
#sidebar li.dropdown a.conspect
{
	background: url(../images/conspect.png) no-repeat 22px 5px;
    background-color: #B6906D;
    background-size : 15px 15px;
}
#sidebar li.dropdown a.lab
{
	background: url(../images/lab.png) no-repeat 22px 5px;
    background-color: #B6906D;
    background-size : 15px 15px;
}
#sidebar li.dropdown a.task
{
	background: url(../images/task.png) no-repeat 22px 5px;
    background-color: #B6906D;
    background-size : 15px 15px;
}
#sidebar li.dropdown a.video
{
	background: url(../images/video.png) no-repeat 22px 3px;
    background-color: #B6906D;
    background-size : 20px 20px;
}

.lock
{
	opacity : .5;
}
#sidebar li.dropdown ul
{
	background : #B6906D;
}
#sidebar li.dropdown a
{
    color : #fff;
    background-color: #B6906D;
    padding: 5px 0 5px 45px;
    display : block;
    /*width : 100%;*/
	width : 190px;
    font-weight: normal;
    text-decoration: none;
}
#sidebar li.dropdown a:hover:not(.lock), #sidebar li.dropdown a.current, #sidebar li.button a.current , h1.main-title  a:hover,  h1.main-title  a.current
{
    color :#ff0;
}

h1.main-title
{
    background: #B19A7D;
    font-size: 20px;
    text-align: center;
    padding: 20px 0;
    color: #fff;
}
h1.main-title a 
{
	text-decoration : none;
	color : #fff;
}
a.start
{
	width : 100%;
	height : 100%;
	position : absolute;
	top : 0;
	left : 0;
	cursor : pointer;
}




/***************** NIKITA MODIFY ************************/

.main-content {
  padding: 0;
}


.main-content #sidebar-toggle {
  margin: 10px;
}

iframe#load-content {
  max-width:1018px;
  max-height:900px;
  min-width : 700px;
  width : 100%;
  height : 900px;
}

@media screen and (max-device-width: 1366px) {
  iframe#load-content {
    width:1018px;
    height:820px;
    overflow: hidden;
  }
  .container.open-sidebar {
    left: 0px;
  }
  .container.open-sidebar #sidebar {
    left:0px;
    opacity: 0.7;
  }
  #sidebar {
    z-index: 2000;
  }
  .container.open-sidebar .main-content {
    width: 100%;
    margin-left: 100px;
  }
  .main-content .content {
    padding-left: 0;
  }
  .container .main-content #sidebar-toggle {
    position: absolute;
    z-index: 3000;
    border: 2px solid #fff;
  }
  .container.open-sidebar .main-content #sidebar-toggle {
    margin-left: 144px;
  }
 
  .swipe-area {
    display: none;
  }
}

@media screen and (max-device-width: 1220px) {
  .container.open-sidebar .main-content {
    margin-left: 0px;
  }
  .container.open-sidebar .main-content #sidebar-toggle {
    margin-left: 244px;
  }
}

@media screen and (max-height: 900px) {
  iframe#load-content {
    height:830px;
  }
}

@media screen and (max-height: 850px) {
  iframe#load-content {
    height:780px;
  }
}

@media screen and (max-height: 800px) {
  iframe#load-content {
    height:730px;
  }
}

@media screen and (max-height: 750px) {
  iframe#load-content {
    height:680px;
  }
}

@media screen and (max-height: 700px) {
  iframe#load-content {
    height:620px;
  }
}

@media screen and (max-height: 650px) {
  iframe#load-content {
    height:620px;
  }
}

iframe#load-content {
  border: 0px solid #000;
}