#heading
{
    background-color:black;
    height:450px;
}
.headerBox
{
    width:250px;
    height:180px;
    border:1px solid #FFF;
    margin:0 auto;
    margin-top:120px;
}
.headerTextBox1
{
    font-family:'Times-Sans-Serif';
    font-size:55px;
    color:white;
    text-align:center;
    padding-left:5px;
    padding-top:10px;
    padding-right:5px;
    line-height:100%;
}
.headerTextBox2
{
    font-size:35px;
    color:white;
    text-align:center;
    font-family:'Itedscr';
}
.navbar{
    margin-bottom: 0;
    border-radius: 0;
    background-color: #888888;
    color: white;
    padding: 1% 0;
    font-size: 1.2em;
    border: 0;
}
.navbar-toggle {
    z-index:3;
}
.navbar-nav{
    position: relative;
}
.navItem
{
    font-family:'Times-Sans-Serif';
}
#navbarLeft
{
    font-size:23px;
    margin-left:50px;
}
.liLeft
{
    padding-left:40px;
}
#navbarRight
{
    font-size:23px;
    margin-right:100px;
}
.liRight
{
    padding-left:10px;
}
#main
{
    background-image: url('icon/pattern.png');
    width: 100%;
    height: auto;
    background-size: cover;
}
body
{
    width:100%;
    margin:0px;
}
.mainBox
{
    width:100%;
    height:300px;
    margin:0 auto;
    margin-top:120px;
    margin-bottom:50px;
    background-color:#888888;
    padding:10px;
}
.mainTextBox
{
    width:45%;
    font-size:30px;
    color:black;
    text-align:center;
    margin-left:27.5%;
    position: relative;
    top: 50%;
    transform: translateY(-50%); 
}
#message
{
    width:18%;
    height:80px;
    background-color:black;
    border-radius:0px;
    font-size:20px;
}
#submit
{
    width:150px;
    height:80px;
    background-color:black;
    border-radius:0px;
    font-size:20px;
}
footer
{
    background-color:black;
}
.footerBox
{
    width:200px;
    height:140px;
    border:1px solid #FFF;
    margin:0 auto;
}
.footerTextBox
{
    font-family:'Times-Sans-Serif';
    font-size:45px;
    color:white;
    text-align:center;
    padding-left:5px;
    padding-top:10px;
    padding-right:5px;
    line-height:100%;
}
.footerTextBox2
{
    font-family:'Itedscr';
    font-size:28px;
    color:white;
    text-align:center;
}
.footerBox2
{
    display: table;
    margin: 0 auto;
}
.footerIcon
{
    margin-right:10px;
}
.copyright
{
    color:white;
    text-align:center;
}
@font-face {
    font-family: 'Khmer-Sangam-MN'; /*a name to be used later*/
    src: url('font/Khmer.ttf'); /*URL to font*/
}
@font-face {
    font-family: 'Times-Sans-Serif'; /*a name to be used later*/
    src: url('font/Times.ttf'); /*URL to font*/
}
@font-face {
    font-family: 'Itedscr'; /*a name to be used later*/
    src: url('font/Itedscr.ttf'); /*URL to font*/
}

/*Desktops & Laptops*/

@media screen and (max-width: 1378px) {
    .mainTextBox
    {
        width:45%;
        font-size:26px;
        color:black;
        text-align:center;
        margin-left:27.5%;
        position: relative;
        top: 50%;
        transform: translateY(-50%); 
    }
}

@media screen and (max-width: 1199px) {
    #navbarLeft
    {
        font-size:23px;
        margin-left:0px;
    }
    #navbarRight
    {
        font-size:23px;
        margin-right:50px;
    }
    .liLeft
    {
        padding-left:10px;
    }
    .liRight
    {
        padding-left:10px;
    }
}

@media screen and (max-width: 1130px) {
    .mainTextBox
    {
        width:45%;
        font-size:23px;
        color:black;
        text-align:center;
        margin-left:27.5%;
        position: relative;
        top: 50%;
        transform: translateY(-50%); 
    }
    #message
    {
        width:18%;
        height:60px;
        background-color:black;
        border-radius:0px;
        font-size:16px;
    }
}

/*Tablets & Ipads*/

@media screen and (max-width: 1000px) {
    .footerBox2
    {
        display: table;
        margin: 0 auto;
        text-align:center;
    }
}

@media screen and (max-width: 991px) {
    .liLeft
    {
        padding-left:0px;
    }
    .liRight
    {
        padding-left:0px;
    }
    #navbarLeft
    {
        font-size:21px;
    }
    #navbarRight
    {
        font-size:21px;
        margin-right:0px;
    }
    #nav
    {
        width: 99%;
    }
}

@media screen and (max-width: 850px) {
    .mainTextBox
    {
        width:45%;
        font-size:21px;
        color:black;
        text-align:center;
        margin-left:27.5%;
        position: relative;
        top: 50%;
        transform: translateY(-50%); 
    }
    #message
    {
        width:18%;
        height:50px;
        background-color:black;
        border-radius:0px;
        font-size:14px;
    }
    #submit
    {
        width:150px;
        height:70px;
        background-color:black;
        border-radius:0px;
        font-size:20px;
    }
}

@media screen and (max-width: 700px) {
    #message
    {
        width:120px;
        height:50px;
        background-color:black;
        border-radius:0px;
        font-size:12px;
    }
}

@media screen and (max-width: 650px) {
    .mainTextBox
    {
        width:45%;
        font-size:18px;
        color:black;
        text-align:center;
        margin-left:27.5%;
        position: relative;
        top: 50%;
        transform: translateY(-50%); 
    }
    #message
    {
        width:120px;
        height:50px;
        background-color:black;
        border-radius:0px;
        font-size:12px;
    }
    .copyright
    {
        color:white;
        text-align:center;
        font-size:16px;
    }
}

@media screen and (max-width: 575px) {
    #message
    {
        width:120px;
        height:50px;
        background-color:black;
        border-radius:0px;
        font-size:12px;
    }
}

/*Mobiles*/

@media screen and (max-width: 500px) {
    #message
    {
        width:120px;
        height:50px;
        background-color:black;
        border-radius:0px;
        font-size:12px;
    }
}

@media screen and (max-width: 400px) {
    #message
    {
        width:120px;
        height:50px;
        background-color:black;
        border-radius:0px;
        font-size:12px;
    }
    .mainTextBox
    {
        width:45%;
        font-size:16px;
        color:black;
        text-align:center;
        margin-left:27.5%;
        position: relative;
        top: 50%;
        transform: translateY(-50%); 
    }
}

@media screen and (max-width: 350px) {
    .mainTextBox
    {
        width:45%;
        font-size:15px;
        color:black;
        text-align:center;
        margin-left:27.5%;
        position: relative;
        top: 50%;
        transform: translateY(-50%); 
    }
}