:root 
{ 
    --body-width: 45vw; 

} 

html
{
    margin: 0;
    padding: 0;
    text-align: center;
    height: 100%;
    background-image: url(../images/bgs/bg15.jpg);
    background-repeat: repeat;
    width: calc(100vw - 34px);
}

body
{
    font-family: Arial;
    font-size: 1.2vmin;
    font-weight: normal;
    padding: 0;
    text-align: center;
    width: calc(var(--body-width)); /*980px;*/
    height: 100%;
    display: block;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
}

#main-container
{
    background-image: url(../images/back-sider.png);
    background-position: center center;
    background-repeat: repeat-y;
    min-width: 980px;
    position: relative;
    text-align: center;
    width: 100%;
    height: auto;
    min-height: 100%;
    display: block;
    overflow: hidden;
}

#top
{
    height: 9.4vh;
    width: 98%;
    clear: both;
    margin-left: 0.4vw;
}

#top1
{
    height: 100%;
    background-color: #172F2F;
    border-bottom: 3px solid #000;
}

#logo
{
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    height: 100%;
    width: 39%;
    margin-left: 2%;
    float: left;

    background-size: contain;
    resize: both;
}

#navigation
{
    width: 59%;
    height: 100%;
    float: right;
    margin: 0pt;
}

#nav
{
    height: 100%;
    margin: 0;
    padding-right: 2px;
    float: right;
    /*list-style: none outside none;*/
    background: url(../images/nav.png) no-repeat scroll right top transparent;
    background-size: contain;
    resize: vertical;
}

#nav li
{
    float: left;
    background: url(../images/nav-1.png) no-repeat scroll left top transparent;
    list-style: none outside none;
    text-align: center;
    display: block;
    height: 100%;
    width: 90px;
}

#nav li:before
{
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

#nav li a
{
    /*display: block;*/
    height: 100%;
    border: medium none;
    margin: 0px;
    text-decoration: none;
    text-transform: uppercase;
    color: #D9E0D8;
    font-size: 0.6vw;
    /*padding: 44px 12px 0;*/

}

#nav li a:hover, #nav li a:active, .active_tab
{
    color: rgb(255, 255, 255) !important;
    background: url(../images/nav-hover.png) no-repeat scroll center top transparent !important;
}

/*#nav li.current a
{
    color: rgb(255, 255, 255);
    background: url(../images/nav-arrow.png) no-repeat scroll center bottom #0A1A1A;
}*/

.main
{
    background-color: #FFF;
    height: 100%;
    width: 98%;
    margin-left: 10px;
    padding-bottom: 1px;
}

#about, #services, #products
{
    padding-left: 30px;
    padding-top: 30px;
    text-align: left;
}

#contactus
{
    width: 100%;
    display: block;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

#about
{
    margin-bottom: 130px;
}

#products, #services, #construct, #gallery, #main, #contactus, .admin
{
    padding-bottom: 130px;
}

.center
{
    margin-top: 2px;
    width: 98%;
}

#main-content
{
    width: 100%;
    height: 520px;
}

.cmrm
{
    background-image: url(../images/column-shadow.png);
    background-repeat: no-repeat;
}

#right-main
{
    width: 257px;
}

.main_lcr
{
    height: 400px;
    width: 249px;
    float: left;
    margin: 20px 16px 10px 10px;
    padding: 10px 0px 10px 34px;
}

#center-main-content
{
    height: 225px;
    width: 225px;
    background: url(../images/paper.png) no-repeat;
    float: right;
    margin: 45px 15px 0px 0px;
}

#gallery
{
    width: 94%;
    height: auto;
    margin-bottom: 130px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
}

#gallery h1
{
    font-family: Georgia;
    font-style: italic;
    margin: 10px 0 10px 0;
    font-size: 14px;
}

#gallery .elem, .elem *
{
    box-sizing: border-box;
    margin: 0 !important;
}

#gallery .elem
{
    display: inline-block;
    font-size: 0;
    width: 13%;
    border: 4px solid transparent;
    border-bottom: none;
    background: #fff;
    padding: 0px;
    height: auto;
    background-clip: padding-box;
}

#gallery .elem > span
{
    display: block;
    cursor: pointer;
    height: 0;
    padding-bottom: 80%;
    background-size: cover;
    background-position: center center;
    border-radius: 5px;
}

#google
{
    width: 100%;
    height: 300px;
    margin-bottom: 130px;
}

#envelope
{
    background-image: url(../images/pages/envx.png);
    background-repeat: no-repeat;
    width: 78%;
    height: 455px;
    margin-left: 96px;
    text-align: left;
}

#env-left
{
    height: 281px;
    width: 216px;
    padding: 109px 0px 0px 68px;
    float: left;
}

#env-right
{
    height: 281px;
    width: 380px;
    padding: 109px 0px 0px 13px;
    float: left;
}

.enveloper h1
{
    font: italic 14pt Georgia;
    color: #2b4672;
}

.enveloper p, .list
{
    font: italic 10pt Georgia;
    color: #5D5D5E;
}

.enveloper red
{
    color: #AE7178;
}

.enveloper .list
{
    list-style-type: disc;
}

.enveloper span
{
    font-weight: bold;
}

#cons
{
    background-image: url(../images/cons.gif);
    background-repeat: no-repeat;
    width: 50%;
    height: 270px;
    margin-left: 285px;
}

.construct
{
    width: 100%;
    height: 100%;
    display: block;
    overflow: auto;
    background-color: White;
    padding-top: 40px;
}
/* Footer ---------> */
#footer
{
    bottom: 0px;
    position: absolute;
    text-align: center;
    width: 98%;
    height: 125px;
    margin-left: 10px;
    margin-right: auto;
    background-color: #fff;
}

#social
{
    height: 60px;
    width: 52%;
    margin: 1px;
    padding: 1px 0 6px 40%;
}

#fb, #twt, #email
{
    width: 60px;
    height: 64px;
    float: left;
}

#social a
{
    background-repeat: no-repeat;
    width: 48px;
    height: 48px;
    float: left;
    margin-top: 11px;
}

#social a:hover
{
    width: 64px;
    height: 64px;
    margin-top: 0px;
}

#copyright
{
    color: #000;
    font: italic bold 10pt Georgia;
    margin: 6px 10px 4em 0px;
    width: 100%;
    color: #2b4672;
}

#fb a
{
    background-image: url(../images/social/fb.png);
}

#twt a
{
    background-image: url(../images/social/tw.png);
}

#mail a
{
    background-image: url(../images/social/email.png);
}

#fb a:hover
{
    background-image: url(../images/social/fb_hover.png);
}

#twt a:hover
{
    background-image: url(../images/social/tw_hover.png);
}

#mail a:hover
{
    background-image: url(../images/social/email_hover.png);
}
/* <--------- footeR */
.box
{
    background-color: rgba(33, 33, 33, 0.98);
    border: 2px solid #000000;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 10px #000000;
    color: #D3D3D3;
    margin-bottom: 15px;
    padding: 15px 1px 10px;
}

.wrap
{
    border-radius: 3px 3px 3px 3px;
    box-shadow: 1px 1px 0 #FFFFFF inset;
    margin: 0 -60px;
    padding: 0 60px;
}

#ayrac
{
    background-image: url(../images/ayrac.jpg);
    background-repeat: no-repeat;
    width: 401px;
    height: 2px;
    margin: 18px auto 9px;
}

#map
{
    height: 400px;
    width: 100%;
}

#separator
{
    background-image: url(../images/separator.png);
    background-repeat: no-repeat;
    width: 500px;
    height: 40px;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    max-width: 200px;
}

#contactus #feedback
{
    font: italic 18pt Georgia;
    color: #2b4672;
}
