* {margin: 0 auto;padding: 0;}
.clear {clear: both;}
:focus{outline: none;}
@font-face {
    font-family: 'SaitakIranSans';
    src: url('/fonts/iransans/IRANSans.eot');
    src: url('/fonts/iransans/IRANSans.eot?#iefix') format('embedded-opentype'),
         url('/fonts/iransans/IRANSans.woff2') format('woff2'),
         url('/fonts/iransans/IRANSans.woff') format('woff'),
         url('/fonts/iransans/IRANSans.ttf') format('truetype'),
         url('/fonts/iransans/IRANSans.svg#IRANSans') format('svg');
    font-weight: normal;
    font-style: normal; 
}
@font-face {
    font-family: 'SaitakIranSans';
    src: url('/fonts/iransans/IRANSansBold.eot');
    src: url('/fonts/iransans/IRANSansBold.eot?#iefix') format('embedded-opentype'),
         url('/fonts/iransans/IRANSansBold.woff2') format('woff2'),
         url('/fonts/iransans/IRANSansBold.woff') format('woff'),
         url('/fonts/iransans/IRANSansBold.ttf') format('truetype'),
         url('/fonts/iransans/IRANSansBold.svg#IRANSans') format('svg');
    font-weight: bold;
    font-style: normal; 
}
@font-face {
    font-family: 'SaitakIranSans';
    src: url('/fonts/iransans/IRANSansLight.eot');
    src: url('/fonts/iransans/IRANSansLight.eot?#iefix') format('embedded-opentype'),
         url('/fonts/iransans/IRANSansLight.woff2') format('woff2'),
         url('/fonts/iransans/IRANSansLight.woff') format('woff'),
         url('/fonts/iransans/IRANSansLight.ttf') format('truetype'),
         url('/fonts/iransans/IRANSansLight.svg#IRANSans') format('svg');
    font-weight: 200;
    font-style: normal; 
}
@font-face {
    font-family: 'SaitakIranSans';
    src: url('/fonts/iransans/IRANSansUltraLight.eot');
    src: url('/fonts/iransans/IRANSansUltraLight.eot?#iefix') format('embedded-opentype'),
         url('/fonts/iransans/IRANSansUltraLight.woff2') format('woff2'),
         url('/fonts/iransans/IRANSansUltraLight.woff') format('woff'),
         url('/fonts/iransans/IRANSansUltraLight.ttf') format('truetype'),
         url('/fonts/iransans/IRANSansUltraLight.svg#IRANSans') format('svg');
    font-weight: 100;
    font-style: normal; 
}
body {
    direction: rtl;
    font:11px SaitakIranSans;
    line-height: 1.8;
    color:#444;
    background:#f9f9f9;
}
.center_align {text-align: center;}
a {text-decoration: none;}

.table h3{color: #444;font-weight: 400;text-align: center;height: 40px;line-height: 40px;}

.container {
    width: 1100px;
    height: auto;
    position: relative;
    box-sizing: border-box;
}

.text_container {
    padding: 40px 0;
    padding-bottom:0;
    line-height: 2.5;
    text-align: justify;
}

#header {
    width: 100%;
    height: 160px;
    background: #e8faff;
}

#header h1 {
    width: 300px;
    height: 120px;
    float: right;
    text-indent: -1500px;
    overflow: hidden;
    background: url('/uploads/21899 سایت 2.jpg') no-repeat right center;
}

#header .nav {
    width: 100%;
    height: 40px;
    background:#333;
    position: relative;
}

#header .nav ul {
    height: 40px;
    list-style-type: none;
    background:#333;
}

#header .nav ul li {
    float: right;
    position: relative;
}
#header .nav ul li a {
    float: right;
    display: block;
    line-height: 40px;
    padding: 0 20px;
    border-left: 1px solid rgba(255,255,255,0.05);
    color: #ddd;
}

#header .nav ul li:hover a, #header .nav ul li:hover ul li:hover a {
    background: #0477a2;
    color:#fff;
}

#header .nav ul li a.selected, #header .nav ul li:hover ul li a.selected {
    background:#555;
    color:#fff;
}

#header .nav ul li:hover > ul {
    display: block;
}

#header .nav ul li ul {
    position: absolute;
    top: 40px;
    right: 0;
    width: auto;
    z-index: 3;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: none;
}

#header .nav ul li ul li a, #header .nav ul li:hover ul li a {
    display: block;
    float: none;
    white-space: nowrap;
    text-align: right;
    min-width: 140px;
    color: #ddd;
    background:#333;
}

#header .tel {
    position: absolute;
    left: 0;
    text-align: left;
    direction: ltr;
    top: 40px;
    height: 32px;
    line-height: 32px;
    padding-left: 20px;
    background: url('/images/tel.png') no-repeat left center;
    background-size: 12px auto;
}

.socials {
    position: absolute;
    left: 0;
    text-align: left;
    direction: ltr;
    top: 80px;
    height: 16px;
}

.socials a {
    float: left;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.socials a:hover {background-position: bottom center}

#footer .socials {
    position: relative;
    top: auto;
    left: auto;
    text-align: center;
    padding-bottom: 20px;
}

#footer .socials a {
    float: none;
    display: inline-block;
}

.socials a#social2 {background-image: url('/uploads/tg.png');}
.socials a#social9 {background-image: url('/uploads/40682Untitled.jpg');}

#slider {
    width: 100%;
    height: 450px;
    background: #eee url('/images/loading.gif') no-repeat center;
    overflow: hidden;
    color:#eee;
    position: relative;
}
#slider .slides .slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#slider .slides .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
}

#slider .bulbs {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: auto;
    height: 12px;
    z-index: 2;
}

#slider .bulbs .bulb {
    cursor: pointer;
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.6;
    border-radius:6px;
    margin-left: 7px;
    float: right;
}
#slider .bulbs .bulb:hover{opacity:0.8;}
#slider .bulbs .bulb_selected, #slider .bulbs .bulb_selected:hover {opacity:1;cursor: default;}


#searcher, #static_header, #submit {
    width: 100%;
    height: 520px;
    background: url('/uploads/35275939.jpg') no-repeat bottom center fixed;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

#submit h3 {
    color:#006699;
    border-bottom:1px solid #ddd;
    text-indent: 5px;
    margin-bottom:5px;
}

#submit .hightlight {
    color:#dd0000;
    font:11px Arial;
}

span.check, span.close {
    display: inline-block;
    margin-left: 5px;
    float: right;
    margin-top: 5px;
    width: 16px;
    height: 16px;
    background: url('/images/check.png') no-repeat center;
    background-size: 100% auto;
}
span.close {background-image: url('/images/close.png');}

#submit {
    height: auto;
    background: #f5f5f5;
    margin-top: 20px;
}

#static_header {
    height: 300px;
    position: relative;
}

#static_header h1 {
    color:#fff;
    font-weight: normal;
    font-size: 24px;
    white-space: nowrap;
    text-align: center;
    padding: 5px 15px;
    background:rgba(0,0,0,0.7);
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#searcher h2, #submit h2 {
    color:#fff;
    height: 60px;
    margin-right: 10px;
}

h2.has_border {
    border-bottom:1px solid #ddd;
    margin-bottom:20px;
    color:#000;
}

#searcher form, #submit form {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1100px;
    background:rgba(0,0,0,0.7);
    border-radius: 3px;
    box-sizing: border-box;
    padding: 30px;
    border:1px solid rgba(255,255,255,0.05);
    transform: translate(-50%, -50%);
}
#submit form {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
    padding: 20px;
    background:#f5f5f5;
    border:1px solid #ddd;
}

#searcher .part, #submit .part {
    float: right;
    width: 33.33%;
    box-sizing: border-box;
    padding: 5px;
    color:#fff;
    overflow: hidden;
    margin-bottom: 20px;
}
#submit .part {color:#444;}

#searcher .part_half, #submit .part_half {
    width: 50%;
    padding: 0 5px;
    margin: 0;
}
#searcher .part_half:first-child, #submit .part_half:first-child{padding-right: 0;}
#searcher .part_half:last-child, #submit .part_half:last-child{padding-left: 0;}

#searcher .part_full, #submit .part_full {
    width:100%;
    padding: 0;
    margin: 0;
}
#submit .part_full_norm {
    width:100%;
}

#searcher .part input[type="checkbox"] {
    margin-top: 10px;
}

#searcher .part label, #submit .part label {
    display: block;
    line-height: 28px;
}
#searcher .part label.inline, #submit .part label.inline {
    display: inline-block;
    cursor:  pointer;
}

#searcher .part select, #submit .part select {cursor: pointer;}

#searcher .part select option, #submit .part select option{ padding: 3px 7px;}

#searcher .part .textput, #submit .part .textput {
    width: 100%;
    box-sizing: border-box;
    border-radius: 3px;
    border:1px solid #ddd;
    background: #fff;
    padding: 0 7px;
    font: inherit;
    direction: rtl;
    color:#444;
    height: 32px;
}
#submit .part .ltr {direction: ltr;}
#searcher .part_anti_placeholder input, #submit .part_anti_placeholder  input {text-align: left;direction: ltr;}

#searcher .part_anti_placeholder input:-ms-input-placeholder, #submit .part_anti_placeholder  input:-ms-input-placeholder {text-align: right;}
#searcher .part_anti_placeholder input::-webkit-input-placeholder, #submit .part_anti_placeholder  input::-webkit-input-placeholder {text-align: right;}
#searcher .part_anti_placeholder input::-moz-placeholder, #submit .part_anti_placeholder input::-moz-placeholder {text-align: right;}

#searcher .part .subput, #submit .part .subput {
    border: 0;
    background:#556e12;
    cursor: pointer;
    border-radius: 3px;
    display:  inline-block;
    color:#fff;
    padding: 0 40px;
    height: 45px;
    font: inherit;
    font-size: 13px;
    margin-top:  10px;
    text-shadow: -2px 1px 3px rgba(0,0,0,0.7);
}

#searcher .part .subput:hover, #submit .part .subput:hover {background: #729b04;}

.seperator {
    clear: both;
    height: 10px;
}

#submit .part_full .textarea {
    width: 100%;
    height: 80px;
    resize: none;
}

#submit .file {
    width: 100%;
    height: 140px;
    background:#eee;
    border-radius: 5px;
    padding: 20px;
    padding-top: 10px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding-right: 50%;
    padding-left: 0;
    font-size:10px;
    color:#777;
    line-height: 24px;
}
#submit .file b {
    font: bold 80px tahoma;
    color:#ccc;
    display: block;
    line-height: 70px;
    margin-top: 18px;
} 
#submit .file span {
    color:#555;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #e8e8e8;
}

#submit .file span:hover {background: #28707f;color:#fff;cursor: pointer;}
#submit .file span:hover > b {color:#fff;}

#submit .file input {display: none;}

#submit .file .shower {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 3px;
}

#submit .file .shower {background:#eee;}

#submit .file .shower img {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#submit .small_file {
    width: 250px;
    box-sizing: border-box;
    padding:20px;
    height: 120px;
}

#submit .gallery_photos {margin-top: 5px;}
#submit .small_file b {margin-top: 8px;}
#submit .small_file span {width: 100%;}

.box {
    float: right;
    width: 33.33%;
    height: auto;
    margin-top: 20px;
    padding: 20px 30px;
    box-sizing: border-box;
    text-align: justify;
    position: relative;
    padding-top: 70px;
    line-height: 2.5;
    cursor: default;
    border-radius: 3px;
}

.box .icon {
    width: 32px;
    height: 32px;
    background-size: 100%;
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -16px;
    background-repeat: no-repeat;
    background-position: center;
}

.box h2 {
    text-align: right;
    color:#fff;
    font-weight: normal;
}

.box h3 {
    text-align: center;
    color:#777;
    font-weight: normal;
    height: 40px;
}

.box:hover {background: rgba(0,0,0,0.03);}

.box .icon#icon1 {background-image: url('/uploads/icon1.png');}
.box .icon#icon2 {background-image: url('/uploads/icon2.png');}
.box .icon#icon3 {background-image: url('/uploads/icon3.png');}

.box a {color:#c75a04;margin-top: 20px;display: inline-block;}
.box a:hover {color:#000;}

h3.main {
    height: 40px;
    display: block;
    text-align: right;
    font-size: 14px;
    line-height: 40px;
    font-weight: normal;
    color:#333;
    border-bottom:1px solid #ddd;
    margin-bottom: 10px;
    margin-top: 20px;
}

h3.main a{color: #777;}
h3.main a:hover{color: #0477a2;}
.files {
    height: 265px;
    overflow: hidden;
}
.file {
    float: right;
    width: 19.5%;
    height: 260px;
    background:#f5f5f5;
    border-radius: 3px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    margin: 5px 0.25%;
    overflow: hidden;
    position: relative;
    padding: 130px 10px 10px 10px;
    color: #444;
}
.file:hover{background: #f1fcff;border-color:  #0477a2;} 
.file:hover > b {color:#0477a2;}
.file b {
    font-size: 14px;
    display: block;
    padding-bottom: 10px;
}
.file i {
    font-size: 10px;
    color: #777;
    font-style: normal;
    display: block;
    padding-bottom: 3px;
}

.file .photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background:#e5e5e5 url('/uploads/icon1.png') no-repeat center;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.file .photo img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 0;
    transform:  translate(0, -50%);
}

.topup {
    position: fixed;
    top: 0;
    left: 0;
    direction: rtl;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 1000;
    text-align: right;
    display: none;
}

.topupbox {
    width: 400px;
    height: auto;
    padding:60px 20px;
    border-radius: 3px;
    overflow: hidden;
    box-sizing: border-box;
    background:#fff;
    box-shadow: 0 3px 7px rgba(0,0,0,0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.topup .title {
    position: absolute;
    height: 40px;
    background:#333;
    color:#fff;
    padding: 0 15px;
    box-sizing: border-box;
    width: 100%;
    top: 0;
    left: 0;
    line-height: 40px;
}

.topup .text {
    line-height: 2.5;
    color:#555;
}

.topup .ok_button, .topup .cancle_button, .topup .full_button {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 40px;
    background:#28707f;
    color:#fff;
    font-size: 14px;
    text-align: center;
    line-height: 40px;
}

.topup .cancle_button {
    right: auto;
    bottom: 0;
    left: 0;
    background:#a42525;
}

.topup .full_button {
    width: 100%;
}

.topup .ok_button:hover, .topup .full_button:hover {background:#1ea2be;}
.topup .cancle_button:hover {background:#dc1010;}

.gallery_photos .photo {
    float: right;
    width: 24%;
    height: 120px;
    border-radius: 3px;
    border:1px solid #ddd;
    box-sizing: border-box;
    margin: 0.5%; 
    position: relative;
    overflow: hidden;
}

.gallery_photos .photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%
}

.gallery_photos .photo span {
    width: 36px;
    height: 36px;
    bottom: 7px;
    right: 7px;
    position: absolute;
    z-index: 2;
    background: rgba(0,0,0,0.9);
    border-radius: 3px;
    cursor: pointer;
}

.gallery_photos .photo span:hover {background: rgba(170,0,0,0.9);}

.gallery_photos .photo span i {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 24px;
    height: 24px;
    background: url(/images/delete.png) no-repeat center;
    background-size: 20px auto;
}

#footer {
    height: auto;
    width: 100%;
    display: block;
    background: #111 url('/images/footer.jpg') no-repeat center;
    background-size: cover;
    margin-top: 40px;
    padding: 70px 0;
    color: #aaa;
    padding-bottom:0;
}

#footer .box {
    padding-top: 20px;
    width:31.33%;
    background-color: rgba(0,0,0,0.7);
    border-radius: 0;
    margin:0 0.5%;
}
#footer .box:hover {background-color: rgba(0,0,0,0.9);}
#footer .box a {margin:0;color:#fff;}
#footer .box a:hover {color:#c75a04;}
#footer .box_right {width: 32.33%;}
#footer .box_center {width: 41%;}
#footer .box_left {width: 24.66%;}
#footer .box h2 {border-bottom:1px solid rgba(255,255,255,0.05);margin-bottom:7px;}

#certificates {
    width: 100%;
    position: relative;
    background: rgba(0,0,0,0.7);
    height: auto;
    text-align: center;
    padding:20px 0;
    margin-top: 50px;
}

#certificates .container {direction: ltr;}

#certificates a {
    display: inline-block;
    width: auto;
    padding: 0 15px;
    padding-top: 45px;
    font:9px Arial;
    line-height: 20px;
    color:#fff;
    position: relative;
    text-align: center;
    white-space: nowrap;
    opacity: 0.5;
}
#certificates a:hover {opacity:1;}
#certificates a .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: url('/images/certificates.png') no-repeat top center;
}

#certificates a.responsive .icon {background-position: center 0;}
#certificates a.html5 .icon {background-position: center -35px;}
#certificates a.css3 .icon {background-position: center -70px;}
#certificates a.gtmetrix .icon {background-position: center -105px;}
#certificates a.alexa .icon {background-position: center -140px;}
#certificates a.mellat .icon {background-position: center -175px;}
#certificates a.shetab .icon {background-position: center -210px;}

.sharing, .pagein .sharing {text-align:center;margin-top:25px;}
.sharing .title, .pagein .sharing .title {font-size:15px;}
.sharing a, .pagein .sharing a {
    display:inline-block;
    width:24px;
    height:24px;
    margin:10px 3px 0 0;
    background:url(/images/fb.png) no-repeat top center;
    border-radius:2px;
}
.sharing a.tw, .pagein .sharing a.tw {background-image: url(/images/tw.png);}
.sharing a.gp, .pagein .sharing a.gp {background-image: url(/images/gp.png);}
.sharing a:hover, .pagein .sharing a.tw:hover {background-position: bottom center;}


  #contact_form, #contact_details {
    font-size:13px;
    width: 49%;
    height: 330px;
    overflow: hidden;
    position: relative;
    font-size: 90%;
    text-align: right;
    float: right;
    border:1px solid #f3f3f3;
    padding: 20px;
    box-sizing:  border-box;
    margin-top: 20px;
  }
  #contact_details .frame {
    border: none;
    width: 100%;
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
  }
  #contact_details.map-details {padding: 0;}
  span.contact_text {
    font-size:13px;
    margin-top:15px;
    color: #555;
    display: block;
    line-height:25px;
    border-bottom:1px solid #ddd;
    padding-bottom:15px;
  }
  .container #contact_details {
    background: url(/images/loading.gif) no-repeat center;
    float: left;
  }
  #contact_form .loading {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    opacity:0.9;
    display: none;
  }
  #contact_form .loading .load {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: url(/images/loading.gif) no-repeat center;
  }
  #contact_form .success {
    width: 100%;
    line-height:40px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -20px;
    color:#009900;
    font-weight: bold;
    font-size: 160%;
  }
  #contact_form .error {
    color:#fff;
    background: #741a1a;
    width: auto;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    display:none;
    top: 0;
    left: 0;
    text-align: left;
    font-size: 100%;
  }
  #contact_form form {
    line-height: 160%;
  }
  
  #contact_form .left {
    width: 49%;
    float: right;
    margin-bottom: 10px;
  }
  #contact_form .right {
    float: left;
    width :49%; 
    margin-bottom: 10px;
  }
  
  #contact_form .contact_input, #contact_form .contact_textarea {
    width:100%;
    padding: 5px 7px;
    background:#fafafa;
    color:#777;
    font-size: 13px;
    font-family: inherit;
    border:1px solid #bbb;
    margin-top: 5px;    
    border-radius: 3px;
    box-sizing: border-box;
    height: 32px;
    cursor: text;
  }
  #contact_form .contact_textarea { 
    width:100%;
    height: 90px;
    resize: none;
  }
  #contact_form .contact_input:focus, #contact_form .contact_textarea:focus {
    background: #fff;
    border-color: #007679;  
  }
  #contact_form .red {color:#741a1a;}
  #contact_form label {display: block; font-size: 13px;}
  .container #contact_form .full{
    width:100%;
    float: left;
    margin-bottom: 10px;
    font-size: 12px;
  }
  #contact_form .lined {
    line-height: 32px;
  }
  #contact_form .contact_submit {
    float: left;
    margin-right: 15px;
    cursor: pointer;
    padding: 2px 10px;
    background:#555;
    color:#fff;
    border:1px solid #333;
    border-radius: 3px;
    font-family: inherit;
  }
  
  #contact_form .contact_submit:hover {
    background:#741a1a;
    border-color:#741a1a;
  }
  #contact_form .ltr {direction: ltr;font:11px Arial;}
  
.map_frame {
    width: 100%; 
    height: 400px;
    border:0;
    float: left;
    background: url('/images/loading.gif') no-repeat center;
}

.bet_title {
    font-size: 140%;
    color:#fff;
    height: 40px;
    line-height: 40px;
    background:#555;
    padding: 0 5pt;
    text-align: right;
}

/** ***************************** Pagination *****************************/
#paginate {
    color:#333; 
    position:relative;
    direction: ;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}
#paginate a, #paginate span.current, #paginate span.disabled, #paginate .no, #paginate .rad {
	background:#aaa;
    width: 28px;
    height: 28px;
	margin:0px 1px;
	text-align:center;
    font-size: 12px; 
	line-height:28px;
	color:#333;
    display: inline-block;
	border-radius: 2px;
}
#paginate a:hover, #paginate span.current {background:#0477a2;color:#fff;}
#paginate span.disabled {background:#ddd;color:#999;}
#paginate .no {background: #fff;color:#999;}
#paginate .rad {letter-spacing:1px;background:#fff;color:#999;cursor: default;}

a.back {color:#0477a2;}

/* ***************************** End Pagination ***************************************/

.container .in_box {
    height:400px;
    float:right;
    position:relative;
    background:#fff;
    padding: 15px;
    width: 24%;
    margin: 0.5%;
    padding-top: 160px;
    box-sizing: border-box;
    overflow: hidden;
}
.container .in_box .img {
    overflow: hidden;
    border-radius:2px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.container .in_box .img img {
    min-width: 100%;
    min-height: 100%;
    border:none;
}
.container .in_box a .title {
    display:block;
    font-size: 14px;
    line-height:26px;
    margin-top:15px;
    color:#333;
}
.container .in_box a:hover > .title {
    color: #0477a2;
}
.container .in_box a .title small {
    font-size:9px;
    color:#777;
    display: block;
}
.container .in_box .text {
    font-size:9px;
    line-height: 24px;
    color:#555;
    margin-top:0;
    text-align:justify;
    height:105px;
    overflow:hidden;
}
.container .text {
    color:#333;
}
.container .in_box a.more {
    display:block;
    font-size: 15px;
    position: absolute;
    bottom:0;
    padding-bottom:10px;
    right:0;
    color:#898989;
    width:100%;
    text-align:center;
    background:#fff;
    
}
.container .in_box a.more:hover {
    color: #0477a2;
}
.gallery .photo {
    float: right;
    overflow: hidden;
    position: relative;
    width: 19%;
    height: 120px;
    background:#ddd url('/images/loading.gif') no-repeat center;
    background-size: 16px 16px;
    margin: 0.5%;
}

.gallery .photo img {
    position: absolute;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallery .photo .cover {
    position: absolute;
    top: 0;
    z-index: 2;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6) url('/images/zoom.png') no-repeat center;
    background-size: 24px 24px;
    display: none;
}

.table {
    width: 100%;
    display: table;
    background:#ddd;
    border-spacing: 1px;
}
.tr {
    display: table-row;
}
.td {
    background:#f9f9f9;
    padding: 10px;
    display: table-cell;
}
.td_title {
    width: 130px;
    background:#f3f3f3;
}

ul.types {
    list-style-type: none;
    text-align: center;
}

ul.types li {
    display: inline-block;
    position: relative;
    margin:5px auto;
}
ul.types li a {
    color:#444;
    display: inline-block;
    margin:0 1px;
    width: 140px;
    height: 36px;
    line-height: 36px;
    border-radius: 3px;
    background:#f9f9f9;
    border:1px solid #ddd;
}

ul.types li.selected a, ul.types li.selected:hover a {color:#fff;background: #0477a2;border-color:#444;}
ul.types li.selected:after, ul.types li.selected:hover:after {border-color: #0477a2 transparent;}
ul.types li.selected:before, ul.types li.selected:hover:before {border-color: #444 transparent;}

ul.types li:hover a {color:#444;background: #f5f5f5;border-color:#aaa;}
ul.types li:hover:after {border-color: #f5f5f5 transparent;}
ul.types li:hover:before {border-color: #aaa transparent;}


ul.types li:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  margin-left: -7px;
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: #f9f9f9 transparent;
}

ul.types li:before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  margin-left:-7px;
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: #ddd transparent;
}

#submit .loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8) url(/images/loading.gif) no-repeat center;
    z-index: 3;
    display: none;
}

.error_message {
    background:#fff0f0;
    border:1px solid #aa0000;
    border-radius: 3px;
    padding: 3px 10px;
    color:#444;
    margin: 5px auto;
    cursor: pointer;
    display: none;
}

.success_message {
    background:#f0fff0;
    border:1px solid #006600;
    border-radius: 3px;
    padding: 3px 10px;
    color:#444;
    margin: 5px auto;
    display: none;
}

.infiles {height: auto;}
    
#nav_menu {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.2) url(/images/list.png) no-repeat center;
    background-size: 20px auto;
    float: right;
    display: none;
}

#nav_menu.selected {background-color: #0477a2;}

#header ul#responsive_nav {
    width: 100%;
    height: auto;
    display: none;
}

#header ul#responsive_nav li, #header ul#responsive_nav li a {
    float: none;
    display: block;
    border:0;
    text-align: right;
}
#header ul#responsive_nav li a {
    border-top: 1px solid rgba(255,255,255,0.05);
}
#header ul#responsive_nav li:hover > ul {display: none;}
#header ul#responsive_nav li ul {
    position: relative;
    display: none;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
}
#header ul#responsive_nav li ul li a{background:#222;padding-right:40px;min-width: 0;white-space: normal;}

@media all and (max-width:1150px) {
    .container {width:90%;}
    #submit form {
        width: 100%;
    }
    #searcher form {
        width: 90%;
        margin: 0;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    ul.types li a {
        width: auto;
        padding-right: 30px;
        padding-left: 30px;
        margin-top: 20px;
    }
    #slider {height: 400px;}
}

@media all and (max-width:900px) {
    .files .file {width:24.5%;}
    .gallery .photo {width: 24%;}
    #slider {height: 360px;}
}

@media all and (max-width:780px) {
    .container {width:95%;}
    .files .file {width:32.83%;}
    #searcher form, #submit form {padding: 10px;}
    #searcher h2, #submit h2{text-align: center;height: 40px; line-height:40px;}
    #searcher .part, #submit .part {width:50%;margin-bottom:10px;}
    #searcher .part_half, #submit .part_half{margin-bottom:0;}
    #searcher .part_full, #submit .part_full{width:100%;}  
    #submit .small_file {width: 100%;}
    #submit .gallery_photos .photo {
        width: 49%;
        margin: 0.5%;
    }
    ul.types li a {
        padding-right: 30px;
        padding-left: 30px;
    }
    .container .in_box{width:33.23%;}
    #slider {height: 300px;}
}
@media all and (max-width:750px) {
    .container {width:98%;}
    #searcher form {width:98%;}
    .box, #footer .box {
        width: 100%;
        float: none;
        margin-bottom: 10px;
        display: block;
    }
    #certificates a {
        margin: 10px auto;
        padding-right: 5px;
        padding-left: 5px;
    }    
    ul.types li a {
        padding-right: 20px;
        padding-left: 20px;
    }
    #static_header {height:240px;}    
    #header .nav ul {display: none;}
    #header .nav {height: auto;}
    #nav_menu {display: block;}
    #header {height: auto;text-align: center;}
    #contact_form, #contact_details {
        float: none;
        width: 100%;
    }
}

@media all and (max-width:600px) {
    .container .in_box{width:49%;}
    .gallery .photo {width: 32.33%;}
    #slider {height: 280px;}
    
}
@media all and (max-width:500px) {
    .container {width:95%;}
    .files .file {width:49.5%;}
    #header h1 {
        float: none;
        display: block;
        background-position: center center;
    }    
    #submit .gallery_photos .photo {
        width: 100%;
        height: 150px;
        margin: 0 0.5%;
    }
    #header .tel {
        position: relative;
        display: inline-block;
        top: auto;
        left: auto;
        box-sizing: border-box;
        margin-bottom: 10px
    }
    .socials {
        position: relative;
        display: block;
        top: auto;
        left: auto;
        text-align: center;
        margin-bottom: 20px;
        height: auto;
    }
    .socials a {
        float: none;
        width: 20px;
        height: 20px;
        display: inline-block;
    }
    #searcher form, #submit form {width:98%;}
    #searcher .res_first, #submit .res_first {width:100%;}
    #searcher .part, #submit .part {margin-bottom:5px;}
    #searcher .part_half, #submit .part_half{margin-bottom:0;}
    .box, #footer .box {
        width: 100%;
        float: none;
        margin-bottom: 10px;
        display: block;
    }
    #certificates a {
        margin: 10px auto;
        padding-right: 5px;
        padding-left: 5px;
    }
    ul.types li a {
        padding-right: 10px;
        padding-left: 10px;
    }
    #static_header {height:180px;}
    #static_header h1 {font-size: 18px;padding: 5px 10px;}
    #slider {height: 240px;}
}
@media all and (max-width:400px) {
    .container .in_box{width:100%;margin:0.5% 0;}
    .gallery .photo {width: 49%;}
    #slider {height: 200px;}
}
@media all and (max-width:320px) {
    .files .file {width:100%;margin: 5px 0;}
    .container .in_box{width:100%;margin:0.5% 0;}
    .gallery .photo {width: 100%;margin:0.5% 0;}
    #slider {height: 150px;}
}
