/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */



html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    direction: rtl;
    height: 100%;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 3em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'NeoSansArabic';
    src: url('fonts/NeoSansArabic.eot?') format('eot'),
    url('fonts/NeoSansArabic.woff') format('woff'),
    url('fonts/NeoSansArabic.ttf')  format('truetype'),
    url('fonts/NeoSansArabic.svg#NeoSansArabic') format('svg');
}

@font-face {font-family: "Neo Sans Arabic Bold";
    src: url("fonts/8748f5068427fc51038324b33a9a85dd.eot"); /* IE9*/
    src: url("fonts/8748f5068427fc51038324b33a9a85dd.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/8748f5068427fc51038324b33a9a85dd.woff2") format("woff2"), /* chrome、firefox */
    url("fonts/8748f5068427fc51038324b33a9a85dd.woff") format("woff"), /* chrome、firefox */
    url("fonts/8748f5068427fc51038324b33a9a85dd.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url("fonts/8748f5068427fc51038324b33a9a85dd.svg#Neo Sans Arabic Bold") format("svg"); /* iOS 4.1- */
}

@font-face {font-family: "Neo Sans Arabic Medium";
    src: url("fonts/7668f634eb4865a48f04d52ea3fb9b27.eot"); /* IE9*/
    src: url("fonts/7668f634eb4865a48f04d52ea3fb9b27.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/7668f634eb4865a48f04d52ea3fb9b27.woff2") format("woff2"), /* chrome、firefox */
    url("fonts/7668f634eb4865a48f04d52ea3fb9b27.woff") format("woff"), /* chrome、firefox */
    url("fonts/7668f634eb4865a48f04d52ea3fb9b27.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url("fonts/7668f634eb4865a48f04d52ea3fb9b27.svg#Neo Sans Arabic Medium") format("svg"); /* iOS 4.1- */
}

body {
    background: #09033b;
}

body.auth {
    background-image: url(/img/bcgmain.png);
    background-repeat: no-repeat;
    background-size: auto auto;
    padding: 1px 0 0 0 !important;
    height: 100%;
}

html, body, h1, h2, h3, h4, h5, h6, p, pre,
ul, ol, li, a, img, div, form, input,
input, textarea, table, tr, th, td, nav,
footer, header, menu, figure, figcaption, time, meter {
    margin:0;
    padding: 0;
    border: none;
    outline: none;
    vertical-align: base<img src="/img/login-icon.png" width="120">line;
}

h1, h2, h3, h4, h5, h6, p, li, a, input, select,
textarea, legend, label, th, td, blockquote, q, span {
    font-size: 100%;
    font-weight: normal;
    line-height: 1.2;
    font-family: 'NeoSansArabic' !important;
    color: #000;
}

h2.header {
    padding: 20px;
    font-weight: bold;

}

a:link, a:visited {
    color: #3784d3;
    text-decoration: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

div.wrapper {
    max-width: 100%;
}

    header.topHeader {
        min-width: 960px;
        height: 45px;
        background: #990000;
        box-shadow: 0 2px 4px rgba(0,0,0,.15);
    }

        div.headerNav {
            margin: 0 1em;
            height: 100%;
        }

            div.headerNav ul li {
                float: right;
                position: relative;
                z-index: 101;
            }

                div.headerNav ul li a:link,
                div.headerNav ul li a:visited {
                    color: rgba(186, 213, 249, 0.8);
                    display: block;
                    vertical-align: middle;
                    width: 30px;
                    font: 1.35em 'Arial';
                    border-left: 1px solid #e06666;
                    height: 35px;
                    padding: 10px 12px 0 12px;
                    text-align: center;
                    position: relative;
                    text-decoration: none;
                }

                div.headerNav ul li a:hover,
                div.headerNav ul li a:active {
                    background-color: #e06666;
                }

                div.headerNav ul li a.selected {
                    color: #FFF;
                    border-left: 1px solid #e06666;
                    border-right: 1px solid #e06666;
                }

                div.headerNav ul li a.language {
                    border-left: 1px solid #e06666b;
                }

                div.headerNav > ul > li:nth-child(3),
                div.headerNav > ul > li:nth-child(4),
                div.headerNav > ul > li:last-child {
                    float: left;
                }
                
                div.headerNav > ul > li > h1 {
                    color: white;
                    margin: 13px 13px 0 0;
                }

                div.headerNav ul li input[type=text] {
                    height: 20px;
                    padding: 5px 10px;
                    margin: 6px auto 0 auto;
                    border-radius: 2px;
                    box-shadow: 0 1px 3px rgba(100,107,116,.08) inset;
                    border: 1px solid #d5dbe1;
                    width: 513px;
                    font-size: 0.85em;
                    line-height: 17px;
                    background: #f4f5f7 url(/img/search.png) no-repeat 505px center;
                    color: #000;
                    display: block;
                }

                div.headerNav ul li input[type=text]:focus {
                    background: #FFF url(/img/search.png) no-repeat 505px center;
                }

                    div.notificationCount {
                        height: 15px;
                        background: rgb(213, 2, 2);
                        border-radius: 2px;
                        font-size: 0.5em;
                        color: #FFF;
                        text-align: center;
                        padding: 2px 3px 0 3px;
                        position: absolute;
                        top:5px;
                        right: 10px;
                    }

                div.headerNav ul li ul {
                    position: absolute;
                    background: #FFF;
                    width: 400px;
                    box-shadow: 0 1px 5px 0 rgba(56,61,72,0.21);
                    top: 50px;
                    left: -10px;
                    display: none;
                }

                div.headerNav ul li ul.user {
                    width: 180px;
                }

                    div.headerNav ul li ul li {
                        float: none;
                    }

                        div.headerNav ul li ul li a:link,
                        div.headerNav ul li ul li a:visited {
                            font-size: 0.8em;
                            color: #444;
                            width: 380px;
                            padding: 10px;
                            border-left: none;
                            text-align: right;
                            border-bottom: solid 1px #EFEFEF;
                        }

                        div.headerNav ul li ul.user li a:link,
                        div.headerNav ul li ul.user li a:visited {
                            font-size: 0.8em;
                            color: #444;
                            width: 160px;
                            height: 25px;
                            padding: 10px 10px 0px 10px;
                            border-left: none;
                            text-align: right;
                            border-bottom: solid 1px #EFEFEF;
                        }

                        div.headerNav ul li ul li a:hover,
                        div.headerNav ul li ul li a:active {
                            background: #f3f5f6;
                        }

                        div.headerNav ul li ul li a i {
                            display: block;
                            margin: 5px 0 0 0;
                            color: #000;
                        }

                        div.headerNav ul li ul li a i:first-child {
                            display: block;
                            float: right;
                            margin: 0 0 0 10px;
                            color: #000;
                        }

                    div.headerNav ul li ul header {
                        padding: 10px 10px 6px 10px;
                        border-bottom: solid 1px #EFEFEF;         
                        font-size: 0.8em;
                        position: relative;
                    }

                        div.headerNav ul li ul header > a:link,
                        div.headerNav ul li ul header > a:visited {
                            position: absolute;
                            top: 8px;
                            left: 14px;
                            font-size: 1.3em;
                            width: 10px;
                            height: 10px;
                            padding: 0;
                            border: none;
                            color: #000000;
                        }

                        div.headerNav ul li ul header > a:hover,
                        div.headerNav ul li ul header > a:active {
                            background: none;
                        }

                        div.headerNav ul li ul header div.pointer {
                            width: 0;
                            height: 0;
                            border-style: solid;
                            border-width: 0 10px 10px 10px;
                            border-color: transparent transparent #ffffff transparent;
                            position: absolute;
                            top: -10px;
                            left: 30px;
                        }

                    div.headerNav ul li ul footer {
                        padding: 10px 10px 6px 10px;
                        background: #f3f5f6;
                        border-bottom: solid 1px #EFEFEF;
                        
                        font-size: 0.8em;
                        position: relative;
                    }

                        div.headerNav ul li ul footer a:link,
                        div.headerNav ul li ul footer a:visited {
                            height: 20px;
                            width: 100%;
                            padding: 0;
                            margin: 0;
                            font-size: 1em;
                            color: #3784d3;
                            border: none;
                        }

                        div.headerNav ul li ul footer a:hover,
                        div.headerNav ul li ul footer a:active {
                            background: none;
                        }

    div.content {
        min-width: 960px;
        margin: 20px 1% 0 1%;
    }
        div.leftColumn {
            background: transparent;
            width: 265px;
            float: right;
            margin: 0 0 0 1%;
        }

            div.contentBox {
                background: #FFF;
                border-radius: 2px;
                padding: 15px;
                position: relative;
                z-index: 100;
            }

                div.contentBox a.close {
                    position: absolute;
                    top:15px;
                    right: 15px;
                }

                div.contentBox p {
                    font-size: 0.9em;
                    line-height: 1.4;
                    margin: 0 0 10px 0;
                }

                div.contentBox h3 {
                    
                    margin: 0 0 15px 0;
                }

                div.userInfo > img {
                    display: block;
                    float: left;
                }

                div.userInfo div.userInfoDetails {
                    float: right;
                    width: 120px;
                }

                    div.userInfoDetails span.userPrivilege
                    {
                        display: block;
                        font-size: 0.8em;
                        margin: 3px 0 0 0;
                    }

                    div.userInfoDetails span.userPrivilege img {
                        vertical-align: middle;
                        margin: 0 3px 0 0;
                    }

                span.profileCompletion {
                    display: block;
                    width: 100%;
                    font-size: 0.8em;
                }

                div.userInfo p {
                    float: left;
                    font-size: 0.8em;
                    font-weight: bold;
                    margin: 10px 0 5px 0;
                }

                div.userInfo meter {
                    display: block;
                    float: right;
                    width: 100%;
                }

            div.block {
                margin: 0 0 20px 0;
                box-shadow: 0 1px 5px 0 rgba(56,61,72,0.21);
                background: #FFF;
            }

            div.logoBg {
                background-image: url('/img/bg.png');
                background-repeat: no-repeat;
                background-size: 80% 80%;
                background-position: center center;
            }

                div.block header {
                    background: #265799;
                    padding: 15px;
                    border-radius: 2px 2px 0 0;
                    position: relative;
                }

                    div.block header h2 > i {
                        position: absolute;
                        top: 13px;
                        left: 15px;
                        font-size: 1.4em;
                    }

                    div.block header h2 {
                        color: #FFF;
                    }

                div.block header.white {
                    background: #FFF;
                    border-bottom: 1px solid #EFEFEF;
                    padding: 20px;
                    border-radius: 2px 2px 0 0;
                    position: relative;
                }

                    div.block header.white h2 {
                        color: #000;
                        font-size: 1.1em;
                        font-weight: normal;
                    }

                div.block footer {
                    padding: 20px;
                    background: #f3f5f6;
                    border-top: 1px solid #EFEFEF;
                }

                    div.block footer p {
                        font-size: 0.8em;
                        text-align: left;
                    }

            div.block div.box {
                background: #FFF;
                padding: 0;
            }

                div.box ul.mainNav li.disabled {
                    display: none;
                }

                    div.box ul.mainNav li a:link,
                    div.box ul.mainNav li a:visited {
                        display: block;
                        padding: 13px 15px;
                        border-bottom: 1px solid #EFEFEF;
                        font-size: 0.9em;
                        position: relative;
                        color: #265799;
                    }

                    div.box > ul.mainNav > li a:hover,
                    div.box > ul.mainNav > li a:active,
                    div.box > ul.mainNav > li a.selected {
                        background: #f3f5f7;
                        color: #3784d3;
                    }

                    div.box ul.mainNav li a i {
                        display: inline-block;
                        margin: 0 0 0 20px;
                    }

                    div.box ul.mainNav li a div.messageCount {
                        background: #515A6B;
                        color: #ffffff;
                        border-radius: 2px;
                        padding: 5px 5px 3px 5px;
                        position: absolute;
                        left: 15px;
                        top: 10px;
                        text-align: center;
                        font-size: 0.8em;
                    }
                    
                    div.box ul.mainNav li ul {
                        display: none;
                        padding: 10px 0;
                        background: #f1f1f1;
                    }
                    
                    div.box ul.mainNav li ul.selected {
                        display: block;
                    }

                    div.box ul.mainNav li ul li a:link,
                    div.box ul.mainNav li ul li a:visited {
                        background-color: #f1f1f1;
                        font-size: 0.75em;
                        padding: 7px 30px 7px 15px;
                    }

                    div.box ul.mainNav li ul li a:hover,
                    div.box ul.mainNav li ul li a:active,
                    div.box ul.mainNav li ul li a.selected {
                        text-decoration: underline;
                    }

        div.rightColumn {
            background: transparent;
            margin: 0 285px 0 0;
        }

        div.rightColumn div.contentBox {
            padding: 20px;
            overflow: hidden;
            min-height: 300px;
        }

            div.rightColumn div.contentBox h2 {
                font: 1em 'neosansmedium';
                margin: 0 0 20px 0;
                display: inline-block;
                /*border-bottom: dotted 1px #e4e4e4;*/
                padding: 0 0 5px 0;
            }

            div.contentStatBox {
                margin-bottom: 10px;
            }

            div.notification {
                padding: 20px;
            }

            div.conversation {
                margin: 0 0 15px 0;
            }

            div.conversation:last-child {
                margin: 0;
            }

            div.conversation > img {
                float: left;
            }

            div.conversation div.convText {
                float: right;
                margin: 0 15px 0 0;
                width: 600px;
            }

            div.conversation div.convText a.like {
                font-size: 0.85em;
            }

                div.statboxWrapper div.statBox {
                    float: right;
                    margin: 5px;
                    border: 1px solid #EFEFEF;
                    padding: 10px;
                    width: 150px;
                    height: 55px;
                    transition: all 0.3s ease-in-out;
                }

                div.statboxWrapper div.statBox:hover {
                    box-shadow: 0 0 5px #eee;
                    transform: scale(1.05);
                }


                    div.statBox span.statTitle {
                        font-size: 0.8em;
                        display: block;
                    }

                    div.statBox > a {
                        display: block;
                        font-size: 1.5em;
                        color: #000;
                        margin: 10px 0 0 0;
                    }

            div.statTable table {
                width: 100%;
                clear: both;
            }
                div.statTable table tr:first-child {
                    border-bottom: solid 1px #EFEFEF;
                }

                div.statTable table tr th {
                    font-size: 0.85em;
                    font-weight: bold;
                    padding: 5px 10px 10px 0px;
                    border-left: solid 1px #EFEFEF;
                    text-align: right;
                    border-bottom: solid 3px #e0e0e0;
                }

                div.statTable table tr th:last-child {
                    text-align: center;
                    border-left: none;
                }

                div.statTable table tr th:first-child,
                div.statTable table tr th:nth-child(2),
                div.statTable table tr th:nth-child(3) {
                    text-align: right;
                    font-size: 0.85em;
                    padding: 0 10px 5px 0;
                }

                div.statTable table tr td {
                    font-size: 0.85em;
                    padding: 8px 0px;
                    text-align: center;
                    border-bottom: solid 1px #EFEFEF;
                }

                div.statTable table tr td:first-child,
                div.statTable table tr td:nth-child(2),
                div.statTable table tr td:nth-child(3) {
                    font-size: 0.85em;
                    padding: 5px 10px 5px 0;
                    text-align: right;
                }

                div.statTable table tr:nth-child(odd) {
                    background: #f3f5f6;
                }

                div.statTable table tr.odd {
                    background: #f3f5f6 !important;
                }

                div.statTable table tr:first-child {
                    background: transparent;
                }

                div.statTable table tr td a.linethrough {
                    text-decoration: line-through;
                }

                div.statTable table tr td:last-child a {
                    display: inline-block;
                    margin-left: 5px;
                    font-size: 1.1em;
                }

                div.statTable table tr:hover {
                    background: #b4daff !important;
                }

            div.statTable:nth-child(2n) {
                margin: 50px 0;
            }

        a.button:link, a.button:visited {
            display: inline-block;
            float: left;
            background: #265799;
            color: #FFF;
            border-radius: 2px;
            padding: 10px 10px 7px 10px;
            font-size: 0.8em;
            margin: 0 10px 20px 0;
        }

    footer.main {
        width: 960px;
        margin: 15px auto;
    }

        footer.main p {
            font-size: 0.75em;
            text-align: center;
        }

            footer.main p a {
                display: inline-block;
                padding: 0 10px;
                border-right: solid 1px #999;
            }

            footer.main p a:last-child {
                border-right: none;
            }


p.note {
    background: #f1f1f1;
    padding: 5px;
    margin: 2px 0 0 0 !important;
}

p.note span {
    display: inline-block;
    float: left;
}

div.block.login {
    width: 400px;
    margin: 100px auto 0 auto;
}

div.block.login form.appForm input[type=text],
div.block.login form.appForm input[type=password] {
    width: 97%;
}

div.block.login form.appForm table tr td {
    padding: 3px 0;
}

div.introBox {
    min-height: 450px;
}

div.printable header {
    background: none;
}

div.printable header h1 {
    text-align: center;
    font-size: 1.5em;
}

div.printable p.date {
    margin: 10px 0;
}

div.printable h2 {
    margin: 15px 0 !important;
}

div.printable h4 {
    font-weight: bold;
}

div.printable div.contractContent {
    margin: 30px 0 0 0;
}

            
/*
 * Training Dashboard
 */

div.trainingDashboard ul li {
	float: left;
	margin: 6px;
	width: 100px;
	height: 100px;
}
            
div.trainingDashboard ul li a:link,
div.trainingDashboard ul li a:visited {
	display: block;
	border: solid 1px #efefef;
	width: 50px;
	height: 40px;
	padding: 10px 5px;
	text-align: center;
	font-size: 2.5em;
	color: #000;
	border-radius: 2px;
	margin: 0 auto 10px auto;
}

div.trainingDashboard ul li span {
	font-size: 0.85em;
	display: block;
	text-align: center;
}

div.reports_container {
    margin: 50px;
}

div.reports_container ul li {
    float: right;
    margin: 12px;
}

div.reports_container ul li a:link,
div.reports_container ul li a:visited {
    display: block;
    padding: 18px;
    background: #fff;
    border: solid 1px #f1f1f1;
    color: #515A6B;
    text-align: center;
    font-size: 0.8em;
    width: 151px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

div.reports_container ul li a:hover,
div.reports_container ul li a:active {
    background: #515A6B;
    color: #FFF;
}

div.reports_container ul li a i {
    font-size: 3em;
    display: block;
    margin: 0 0 15px 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.ui-tooltip {
    font-size: 0.8em !important;
    background: #757e93;
    box-shadow: 0 2px 6px rgba(117,126,147,0.7) !important;
    color: #FFF !important;
    border: none !important;
    top: 1px;
}

/*
 *  App form Styles
 */

form.appForm {
    width: 97%;
}

form.appForm table {
    width: 100%;
}

form.appForm table tr th,
form.appForm table tr td {
    padding: 5px 0;
}

form.appForm table tr td p {
    color: #3784d3;
}

form.appForm p.error {
    background: rgb(213, 2, 2);
    padding: 3px 7px;
    color: white;
    display: inline-block;
    margin: 0;
    float:right;
    clear:right;
}

form.appForm table tr td label {
    font: 0.85em 'neosansmedium';
    display: block;
    margin: 15px 0 0 0;
}

form.appForm table tr:first-child td label {
    margin: 0;
}

form.appForm input[type=text],
form.appForm input[type=password],
form.appForm input[type=email],
form.appForm input[type=date],
form.appForm input[type=time],
form.appForm input[type=month],
form.appForm input[type=number],
form.appForm input[type=file],
form.appForm textarea,
form.appForm select {
    border: solid 1px #EFEFEF;
    border-radius: 2px;
    width: 100%;
    padding: 8px 10px;
    font: 0.85em 'neosans';
    text-align: right;
}

form.appForm input[type=text].ninty,
form.appForm input[type=text].othertype,
form.appForm input[type=text].othermachinetype,
form.appForm input[type=text].othermanufacturetype {
    width: 90%;
}

form.appForm input[type=text].ninty {
    width: 97%;
}

form.appForm input[type=number].small {
    width: 100px;
}

form.appForm select {
    width: 102.5%;
    background: white;
}

form.appForm select[multiple] {
    height: 100px;
}

form.appForm select#receiverId
{
    height: 150px;
}

form.appForm input[type=text]:focus,
form.appForm input[type=password]:focus,
form.appForm input[type=email]:focus,
form.appForm input[type=date]:focus,
form.appForm input[type=time]:focus,
form.appForm input[type=number]:focus,
form.appForm input[type=file]:focus,
form.appForm textarea:focus,
form.appForm select:focus {
    outline: solid 1px #3784d3;
}

form.appForm textarea {
    height: 150px;
    resize: vertical;
}

form.appForm input#instalment {
    width: 20%;
}

form.appForm input#instalmentDesc {
    width: 69%;
}

form.appForm input[type=submit],
form.level input[type=submit] {
    display: inline-block;
    float: right;
    background: #265799;
    color: #FFF;
    border-radius: 2px;
    padding: 10px 10px 7px 10px;
    font-size: 0.8em;
    margin: 10px 0 0 0;
}

form.appForm table tr td a#newInstalment {
    font: 0.9em Arial;
    color: #000;
}

form.appForm table tr td a#newInstalment i {
    display: inline-block;
    margin: 0 0 0 5px;
}

button.print {
    display: block;
    background: #265799;
    color: #FFF;
    border-radius: 2px;
    padding: 10px 10px 7px 10px;
    font-size: 0.8em;
    margin: 10px 0 0 0;
    border: solid 1px #265799;
    float: left;
    font-family: 'NeoSansArabic' !important;
    clear: right;
}

form.appForm table tr td a.delInstalment {
    display: inline-block;
    margin: 0 10px 0 0;
    color: #000;
}

table.data {
    width: 100%;
}

table.data tr th,
table.data tr td {
    padding: 5px;
    border: solid 1px #e4e4e4;
}

table.data tr th {
    background: #f1f1f1;
    text-align: right;
}


table.summary {
    width: 100%;
}

table.summary tr th,
table.summary tr td {
    padding: 0 !important;
    border: solid 1px #e4e4e4;
}

table.summary tr th {
    background: #f1f1f1;
    text-align: right;
    padding: 0 10px 0 0 !important;
}

table.summary tr th label {
    margin: 10px 0 0 0 !important;
}

table.summary tr td input[type=number] {
    width: 80px;
    border: solid 1px #999;
}

table.summary tr td select {
    width: 200px;
    border: solid 1px #999;
}

/*
 * Notification boxes
 */

div.message {
    margin: 0 0 20px 0;
    box-shadow: 0 1px 5px 0 rgba(56,61,72,0.21);
    padding: 10px 10px;
    background: #EFEFEF;
    border-radius: 2px;
    position: relative;
}

div.message.error {
    background: #900;
}
div.message.warning {
    background: rgb(200, 164, 98);
}
div.message.info {
    background: #265799;
}

    div.message p {
        color: white;
        font-size: 0.85em;
    }

    div.message a.close {
        position: absolute;
        color: white;
        left: 10px;
    }

div.message.success {
    background: rgb(115, 190, 115);
}

img.center
{
    display: block;
    margin: 0 auto;
}

td.unread a {
    color: #3784d3;
    font-weight: bold;
    text-decoration: underline;
}

td.read a {
    color: #000;
}
/*
 * Data Table styles
 */


table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting {
    cursor: pointer;
    *cursor: hand;
}
table.dataTable thead .sorting {
    background: url("/img/sort_both.png") no-repeat center left;
}
table.dataTable thead .sorting_asc {
    background: url("/img/sort_asc.png") no-repeat left 2px;
}
table.dataTable thead .sorting_desc {
    background: url("/img/sort_desc.png") no-repeat left -5px;
}
table.dataTable thead .sorting_asc_disabled {
    background: url("/img/sort_asc_disabled.png") no-repeat center left;
}
table.dataTable thead .sorting_desc_disabled {
    background: url("/img/sort_desc_disabled.png") no-repeat center left;
}



/*
 * Control feature layout
 */
.dataTables_wrapper {
    position: relative;
    clear: both;
    *zoom: 1;
    zoom: 1;
}
.dataTables_wrapper .dataTables_length {
    float: left;
    margin: 0 0 25px 10px;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    font-size: 0.8em;
}
.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
    margin: 0 5px 25px 0;
}
.dataTables_wrapper .dataTables_filter input {
    margin-right: 0.5em;
    border-radius: 2px;
    border: solid 1px #EFEFEF;
    padding: 3px;
    width: 350px;
}
.dataTables_wrapper .dataTables_info {
    clear: both;
    float: left;
    padding-top: 0.755em;
    margin: 5px 0 0 0;
    font-size: 0.85em;
}
.dataTables_wrapper .dataTables_paginate {
    float: right;
    text-align: right;
    padding-top: 0.25em;
    margin: 5px 0 0 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    padding: 2px 5px;
    margin-left: 2px;
    border-radius: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    *cursor: hand;
    border: 1px solid transparent;
    font-size: 0.85em;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #000000 !important;
    border: 1px solid #cacaca;
    background-color: #EFEFEF;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #ccc !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    background-color: #585858;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    outline: none;
    background-color: #2b2b2b;
    /* W3C */
    box-shadow: inset 0 0 3px #111;
}
.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 40px;
    margin-left: -50%;
    margin-top: -25px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.2em;
    background-color: white;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    /* FF3.6+ */
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    /* IE10+ */
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    /* Opera 11.10+ */
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    /* W3C */
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #000;
    font-family: 'NeoSansArabic' !important;
}
.dataTables_wrapper .dataTables_scroll {
    clear: both;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
    *margin-top: -1px;
    -webkit-overflow-scrolling: touch;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td > div.dataTables_sizing {
    height: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}
.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #111111;
}
.dataTables_wrapper.no-footer div.dataTables_scrollHead table,
.dataTables_wrapper.no-footer div.dataTables_scrollBody table {
    border-bottom: none;
}
.dataTables_wrapper:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}

table.dataTable tr td:first-child a i {
    display: inline-block;
    margin: 0 0 0 5px;
}

@media screen and (max-width: 767px) {
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: center;
    }
    .dataTables_wrapper .dataTables_paginate {
        margin-top: 0.5em;
    }
}
@media screen and (max-width: 640px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: center;
    }
    .dataTables_wrapper .dataTables_filter {
        margin-top: 0.5em;
    }
}

a.contract:link,
a.contract:visited {
    color: #000 !important;
    text-decoration: underline !important;
}

div.printable {
    margin: 0 10px;
}

div.printable h1,
div.printable h2,
div.printable h3,
div.printable h4,
div.printable h5,
div.printable h6,
div.printable p,
div.printable li
{
    line-height: 1.5;
    font-family: 'Arial, Helvetica, sans-serif' !important;
    color: #222;
}

div.printable h1 {
    font-size: 1.8em !important;
    margin: 0 0 10px 0;
    font-weight: bold !important;
}

div.printable h2 {
    font-size: 1.3em !important;
    margin: 0 0 10px 0;
    font-weight: bold !important;
}

div.printable p {
    margin: 15px 0;
    font-size: 20px !important;
}

div.printable ul {
    list-style: inside disc;
    margin: 15px;
}

div.printable ol {
    list-style: inside decimal;
    margin: 15px;
}


div.planContainer {

}

div.planContainer div.square {
    width: 300px;
    height: 160px;
    background: #e4e4e4;
    border: solid 1px #999;
    text-align: center;
    padding: 140px 0 0 0;
    float: left;
    margin: 50px 0 0 0;
    position: relative;
}

div.planContainer div.square.right {
    float: right;
}

div.planContainer div.square label {
    width: 50px;
    position: absolute;
}

div.planContainer div.square label#cabient_width {
    top:10px;
    left: 130px;
}

div.planContainer div.square label#cabient_height {
    top:130px;
    right: 10px;
}

div.planContainer div.square label#cabient_door_from_left {
    bottom:10px;
    left: 30px;
}

div.planContainer div.square label#cabient_door_width {
    bottom:10px;
    left: 135px;
}

div.planContainer div.square label#cabient_door_from_right {
    bottom:10px;
    right: 10px;
}

tr.hidden {
    display: none;
}

a#detectLocation:link, a#detectLocation:visited {
    font-size: 0.9em;
    color: #000;
}

p.hidden {
    display: none !important;
}

div.header_print,
div.footer_print {
    display: none;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/* .contract-catogry1-hidden { */
    /* display: none; */
/* } */

.hidden-load {
    display: none;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .non_printable{
        display: none;
    }

    div.topHeader, div.headerNav, div.leftColumn,
    div.rightColumn footer,
    div.rightColumn button.print, header.non_printable {
        display: none;
    }

    div.content {
        margin: 0;
    }

    div.rightColumn {
        width: 100%;
        border: none;
        margin: 0;
    }

    div.rightColumn div.header_print,
    div.rightColumn div.footer_print {
        display: block;
        position: fixed;
    }

    div.rightColumn div.header_print {
        top:0;
        left: 0;
        background: url(/img/header.jpg) no-repeat !important;
        width: 100%;
        height: 176px;
    }

    div.rightColumn div.footer_print {
        bottom:-51px;
        right:-55px;
        background: url(/img/footer.jpg) no-repeat !important;
        width: 100%;
        height: 176px;
    }

    div.leftColumn {
        width: 0px;
    }

    div.leftColumn {
        display: none !important;
    }

    form.appForm.report {
        display: none;
    }
    
    div.printable {
        display: block;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.7cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    p {
        font-size: 20px !important;
    }

    h1,
    h2,
    h3 {
        page-break-after: avoid;
        text-decoration: none;
    }

    h4 {
        /*page-break-before: always !important;*/
    }

    div.pb {
        page-break-before: always !important;
    }

    div.break {
        margin: 350px 0 0 0;
    }

    div.break2 {
        margin: 390px 0 0 0;
    }

    div.planContainer div.square {
        height: 110px !important;
        padding: 40px 0 0 0;
    }

    div.planContainer div.square label#cabient_height {
        top:60px;
        right: 10px;
    }

    p.hidden {
        display: block !important;
    }

    table.no_print {
        display: none;
    }
}

div.signature.left {
    margin: 20px 0 0 0;
    float: left;
}

div.signature.right {
    margin: 20px 0 0 0;
    float: right;
}

img.stamp {
    margin: 40px 0 0 110px;
    float: left;
}

#map {
    height: 400px;
}
.controls {
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#pac-input {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 300px;
}

#pac-input:focus {
    border-color: #4d90fe;
}

.pac-container {

}

#type-selector {
    color: #fff;
    background-color: #4d90fe;
    padding: 5px 11px 0px 11px;
    direction: ltr;
}

#type-selector label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
    color: #FFF;
    display: inline !important;
    margin: 5px 10px 0 0 !important;
}

form.appForm.report input[type=date] {
    width: 91%;
}

form.appForm.report select {
    width: 95%;
}

tr.lockeroption {
    display: none;
}

tr.instalmentTd span {
    display: inline-block;
    margin: 0 10px 0 0;
    color: #3e75ce;
}

div.contract_note {
    display: none;
    padding: 10px;
    margin: 10px 0 0 0;
    background: #f1f1f1;
    width: 620px;
}

table.pay {
    margin: 50px 0 0 0;
}

table.pay tr th {
    background: #f1f1f1;
    text-align: center;
    border: solid 1px #e4e4e4;
    padding: 5px 10px !important;
}

table.pay tr th:first-of-type {
    text-align: right;
}

table.pay tr td {
    background: #fafafa;
    border: solid 1px #e4e4e4;
    text-align: center;
    padding: 10px !important;
}

table.pay tr td:first-of-type {
    text-align: right;
}

div.customer_info {
    float: right;
    margin: 20px 0 0 0;
}

td.controls_td {
    position: relative;
}

td.controls_td div.controls_container {
    position: absolute;
    top: 6px;
    left: 40px;
    background: #FFF;
    box-shadow: 0 0 5px #ccc;
    border-radius: 3px;
    z-index: 1000;
    display: none;
}

td.controls_td div.controls_container.wide {
    width: 330px;
}

td.controls_td div.controls_container a:link,
td.controls_td div.controls_container a:visited {
    display: block;
    width: 140px;
    padding: 8px 12px;
    border-bottom: dashed 1px #f1f1f1;
    color: #265799;
    text-align: right;
    font-size: 14px;
    margin: 0;
}

td.controls_td div.controls_container.wide a:link,
td.controls_td div.controls_container.wide a:visited {
    float: right;
    border-left: dashed 1px #e4e4e4;
}

td.controls_td div.controls_container.wide a:nth-of-type(2n):link,
td.controls_td div.controls_container.wide a:nth-of-type(2n):visited {
    border-left: none;
}

td.controls_td div.controls_container a:hover,
td.controls_td div.controls_container a:active {
    background: #f3f5f7;
}

td.controls_td a.open_controls {
    position: absolute;
    top: 6px;
    left: 10px;
}

td.controls_td a.open_controls i {
    font-size: 1.3em !important;
}

td.controls_td div.controls_container a:last-child {
    border: none;
}

tr.wraning td, p.wraning {
    color: red;
    font-family: "Neo Sans Arabic Medium" !important;
}

tr.paid td, p.paid {
    color: green;
    font-family: "Neo Sans Arabic Medium" !important;
}

tr.leftover td, p.leftover {
    color: #f9b700;
    font-family: "Neo Sans Arabic Medium" !important;
}

tr.inprogress td, p.inprogress {
    color: #3e75ce;
    font-family: "Neo Sans Arabic Medium" !important;
}

div.invoice_wrapper {
    margin: 5px 0;
}

span.invoice {
    display: inline-block;
    margin: 0 30px 0 0;
}

tr.invoices {
    display: none;
}

span.red {
    color: red !important;
    font-family: "Neo Sans Arabic Medium" !important;
}

div.statTable table tr td table {
    border: solid 1px #7face8;
}

div.statTable table tr td table tr th {
    background: #7face8;
    color: #FFF;
    border-bottom: solid 2px #000;
    padding: 10px;
}

div.statTable table tr td table tr:last-child td {
    border-bottom: none;
}

tr.transferRef, tr.checkNo, tr.bank, tr.deliveryman, tr.materials, tr.product {
    display: none;
}

div.invoice {
    border: solid 1px #999;
    padding: 15px;
    border-radius: 5px;
}

div.invoice h1 {
    font-family: "Neo Sans Arabic" !important;
    font-size: 3em;
    float: right;
}

div.invoice div.invoice_logo {
    width: 200px;
    float: left;
}

div.invoice div.details {
    clear: both;
    margin: 100px 0 0 0;
    position: relative;
}

div.invoice div.details div.date {
    float: right;
}

div.invoice div.details div.date p,
div.invoice div.details:nth-of-type(4) div.invoice_id p {
    font-family: "Neo Sans Arabic Medium" !important;
}

div.invoice div.details div.invoice_id {
    padding: 10px 5px 0 5px;
    border-radius: 10px;
    position: absolute;
    left: 40%;
    right: 40%;
    height: 36px;
}

div.invoice div.details div.invoice_id p {
    text-align: center;
    font-size: 1.2em;
}

div.invoice div.details div.invoice_id p.code {
    background: #f1f1f1;
    position: absolute;
    top:-4px;
    left: 0;
    border-radius: 10px 0 0 0;
    width: 50%;
    font-size: 1em;
    border-top: solid 2px #666;
    border-right: solid 2px #666;
    border-left: solid 2px #666;
    border-bottom: solid 2px #666;
}

div.invoice div.details div.invoice_id p.year {
    background: #f1f1f1;
    position: absolute;
    bottom:0;
    left: 0;
    border-radius: 0 0 0 10px;
    width: 50%;
    margin: 0;
    font-size: 1em;
    border-right: solid 2px #666;
    border-left: solid 2px #666;
    border-bottom: solid 2px #666;
}

div.invoice div.details div.invoice_id p.serial {
    background: #f1f1f1;
    position: absolute;
    top:-4px;
    bottom:0;
    left: 54%;
    border-radius: 0 10px 10px 0;
    width: 43%;
    margin: 0;
    border: solid 2px #666;
    padding: 10px 0 0 0;
}

div.invoice div.details div.payment {
    float: left;
}

div.invoice div.details div.payment p {
    font-family: "Neo Sans Arabic Medium" !important;
}

div.invoice div.details div.payment h2 {
    font-size: 1.4em;
}

div.invoice div.details div.detail p:first-child {
    font-family: "Neo Sans Arabic Medium" !important;
}

div.invoice div.details div.detail p:last-child {
    font-size: 1.02em;
    border-bottom: dotted 1px #000;
    color: #3784d3;
}

div.invoice div.details:nth-of-type(4) {
    margin: 30px 0 0 0;
}

div.invoice div.details:nth-of-type(4) div.invoice_id,
div.invoice div.details:nth-of-type(6) div.invoice_id {
    border: none;
    padding: 0;
    left: 40%;
    right: 40%;
}

div.invoice div.details:nth-of-type(4) div.invoice_id p {
    font-size: 1em;
}

div.invoice div.details:nth-of-type(5) {
    margin: 150px 0 0 0;
}

div.invoice div.details:nth-of-type(6) {
    margin: 20px 0 0 0;
}

div.invoice div.details:nth-of-type(6) div.date h2 {
    font-size: 2em;
}

div.invoice div.details:nth-of-type(6) div.payment p {
    font-family: "Neo Sans Arabic" !important;
}

div.voucher {
    border: solid 1px #999;
    padding: 15px;
    margin: 10px auto;
}

div.voucher div.from_block {
    float: right;
    width: 30%;
}

div.voucher h1 {
    font-size: 1.8em;
    font-family: "Neo Sans Arabic Medium" !important;
    text-align: center;
    margin-bottom: 30px;
}

div.voucher h2 {
    font-size: 1.2em;
    font-family: "Neo Sans Arabic Medium" !important;
    text-align: center;
    display: block !important;
}

div.voucher h3 {
    font-size: 1.1em;
    font-family: "Neo Sans Arabic Medium" !important;
    margin-bottom: 10px;
}

div.voucher h4 {
    font-size: 0.85em;
    font-family: "Neo Sans Arabic Medium" !important;
}

div.voucher div.header_details_block {
    float: left;
    width: 50%;
}

div.voucher div.header_details_block.bottom {
    width: 100%;
}

div.voucher div.header_details_block.bottom table {
    width: 100%;
}

div.voucher div.header_details_block table tr {
    border-bottom: solid 1px #000;
}

div.voucher div.header_details_block table tr td:nth-child(1) {
    width: 100%;
}

div.voucher div.header_details_block.bottom table tr td:nth-child(1) {
    width: 50%;
}

div.voucher div.voucher_date {
    overflow: hidden;
    margin: 20px 0 10px 0;
}

div.voucher div p {
    font-family: "Neo Sans Arabic Medium" !important;
}

div.voucher div.voucher_date p:first-child {
    float: right;
}

div.voucher div.voucher_date p:last-child {
    float: left;
}

div.voucher table.details {
    width: 100%;
    margin-top: 190px;
    margin-bottom: 40px;
}

div.voucher table thead tr {
    border-top: dashed 2px #000;
    border-bottom: dashed 2px #000;
}

div.voucher table thead tr th {
    text-align: center;
    padding: 5px;
    font-size: 0.9em;
    font-family: "Neo Sans Arabic Medium" !important;
}

div.voucher table tbody tr td {
    padding: 5px 0 3px 0;
    font-size: 0.9em;
}

div.voucher table tbody tr td:last-child {
    font-family: "Neo Sans Arabic Medium" !important;
}

div.voucher table tbody tr:first-child td {
    padding-top: 10px;
}

div.message a:link, div.message a:visited {
    color: #FFF;
    text-decoration: underline;
}

/* Fixing Google Habal */
span[style*="left: -999"] {
    display: none;
}

tr.well_related.hide {
    display: none;
}

tr.well_related.show {
    display: table-row;
}

tr.fourth.hide, tr.technical.hide {
    display: none;
}

tr.fourth.show, tr.technical.show {
    display: table-row;
}

tr.lockers_content, tr.control_content, tr.implement_content {
    display: none;
}

label.fifthInstlamnet.hide {
    display: none !important;
}

label.fifthInstlamnet.show {
    display: inline-block !important;
}

div.messagesContainer {
    padding: 10px;
    border: dashed 1px #2196f3;
    background: #d9edfd;
}

div.messagesContainer form.appForm {
    width: 100%;
}

div.messagesContainer form.appForm input[type=text] {
    width: 92%;
}

div.messagesContainer form.appForm input[type=submit] {
    float: left;
    margin: 0 !important;
}

a.addProduct {
    display: block;
    margin-bottom: 10px;
}

div.products_list {
    border: dashed 1px #e4e4e4;
    background: #f1f1f1;
    padding: 10px;
    float: right;
}

div.products_list table tr td p {
    display: inline-block;
    margin-left: 30px;
}

div.products_list table tr td input[type=number] {
    width: 100px;
    margin-left: 10px;
}

a.reservation:link,
a.reservation:visited {
    display: inline-block;
    float: right;
    background: #265799;
    color: #FFF;
    border-radius: 2px;
    padding: 10px 10px 7px 10px;
    font-size: 0.8em;
    margin: 10px 0 0 0;
}

input#steelQuantity[type=number] {
    display: inline-block;
    float: right;
    color: #666;
    margin: 10px 0 0 10px;
    width: 110px;
    border: solid 1px #e4e4e4
}

input[type=submit]#approveAll {
    display: inline-block;
    float: left;
    background: #265799;
    color: #FFF;
    border-radius: 2px;
    padding: 10px 10px 7px 10px;
    font-size: 0.8em;
    margin: 0 10px 20px 0;
}

span.rate {
    display: inline-block;
    color: #FFF;
    font-size: 0.8em;
    padding: 5px;
    background: #265799;
    border-radius: 5px;
}

div.permissions_contrainer {
    width: 225px;
    height: 2200px;
    float: right;
    padding: 10px;
    box-sizing: border-box;
}





/* Login */

div.action_view.login {
    padding-top: 1px;
    backface-visibility: hidden;
    perspective: 300px;
    transform: translate3d(0, 0, 0);
    height: calc(100% - 1px);
}

div.login_box {
    width: 300px;
    margin: 90px  60px ;
    padding: 20px;
    background: #FFF;
    border-radius: 30px;
    transform: scale(0);
}

@keyframes login {
    from {transform: scale(0) rotateY(0deg)}
    to {transform: scale(1) rotateY(360deg)}
}

/* The element to apply the animation to */
div.login_box.animate {
    animation-name: login;
    animation-duration: 0.5s;
    transform: scale(1);
}

div.login_box form img {
    display: block;
    margin: 30px auto;
}

div.login_box form h1 {
    text-align: center;
    font-family: "Neo Sans Arabic Medium" !important;
}

div.login_box form div.border {
    width: 60px;
    height: 5px;
    background-color: #408eba;
    margin: 10px auto;
}

div.login_box form input[type=text],
div.login_box form input[type=password],
div.login_box form input[type=submit] {
    border: solid 1px #f2f5f6;
    background: #f2f5f6;
    padding: 12px 10px 7px 10px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    margin-bottom: 10px;
}

div.login_box form input[type=text],
div.login_box form input[type=password] {
    padding-right: 35px;
}

div.login_box form input[type=submit] {
    background-color: #0d0459;
    color: #FFF;
    transition: all 0.3s ease-in-out;
}

div.login_box form input[type=submit]:hover,
div.login_box form input[type=submit]:active {
    background: #9eb2bd;
}

div.login_box form input[type=text]:focus,
div.login_box form input[type=password]:focus {
    background-color: #f9f9fa;
    border: solid 1px #f1f1f1;
}

div.login_box form div.input_wrapper {
    position: relative;
}

div.login_box form div.input_wrapper.username::after {
    position: absolute;
    content: url(/img/usericon.png);
    z-index: 1;
    top:13px;
    right: 12px;
}

div.login_box form div.input_wrapper.password::after {
    position: absolute;
    content: url(/img/passwordicon.png);
    z-index: 1;
    top:10px;
    right: 12px;
}

div.login_box form input:-webkit-autofill {
    background-color: #f2f5f6 !important;
    -webkit-box-shadow: inset 0 0 0px 9999px #f2f5f6;
}

div.login_box form input:-webkit-autofill:focus {
    border-color: #f9f9fa;
    -webkit-box-shadow: inset 0 0 0px 9999px #f9f9fa;
    border-bottom: solid 1px #f9f9fa;
}

div.levels_wrapper {
    float: right;
}

div.level {
    background-color: #eee;
    border: solid 1px #ddd;
    width: 300px;
    margin-bottom: 10px;
    padding: 10px;
    position: relative;
}

div.level h1 {
    font-size: 1em;
    width: 10px;
    height: 13px;
    padding: 10px;
    color: #FFF;
    background-color: #3784d3;
}

div.level a.add:link,
div.level a.add:visited {
    position: absolute;
    left: 10px;
    top: 10px;
}

form.level {
    float: left;
}

form.level fieldset {
    padding: 10px;
    border: solid 1px #ccc;
    width: 350px;
    background-color: #eeeeee;
}

form.level fieldset legend {
    border: solid 1px #cccccc;
    padding: 5px;
    background-color: #eeeeee;
}

form.level fieldset table tr td {
    padding: 7px 0;
    font-size: 0.85em;
}

form.level input[type=number],
form.level select {
    width: 100%;
    height: 30px;
    border: solid 1px #CCC;
}

form.level input[type=number] {
    padding: 5px;
    box-sizing: border-box;
}

form.level input[type=submit] {
    float: left;
}

p.level {
    background-color: #3784d3;
    color: white;
    padding: 5px;
}

div.door {
    width: 100px;
    height: 18px;
    padding: 2px 0;
    background-color: #3784d3;
}

div.door p {
    color: #FFF !important;
    text-align: center;
}

div.door.right {
    position: absolute;
    top: 150px;
    transform: rotateZ(90deg);
    right: -50px;
}

div.door.left {
    position: absolute;
    top: 150px;
    transform: rotateZ(90deg);
    left: -50px;
}

div.door.front {
    position: absolute;
    top: -12px;
    left: 130px;
}

div.door.back {
    position: absolute;
    bottom: -12px;
    left: 130px;
}

@media screen {
    div.branch-image-header  ,div.branch-image-footer 
    {
        display: none;
    }
}
@media print {
    div.branch-image-header {
        position: fixed;
        top: 80px;
        left: 60px;
        width: 300px;
    }
    div.branch-image-footer{
        position: fixed;
        bottom: 0px;
        left: 0px;
        width: 100%;

    }
}