/*
Zerotheme.com | Free Html5 Responsive Templates
Author URI: https://www.zerotheme.com/
*/

/* ---------------------------------------------------------------------------- */
/* ------------------------------------Reset----------------------------------- */
/* ---------------------------------------------------------------------------- */
a,abbr,acronym,address,applet,article,aside,audio,b,blockquote,big,body,center,canvas,caption,cite,code,command,datalist,dd,del,details,dfn,dl,div,dt,em,embed,fieldset,figcaption,figure,font,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,keygen,label,legend,li,meter,nav,object,ol,output,p,pre,progress,q,s,samp,section,small,span,source,strike,strong,sub,sup,table,tbody,tfoot,thead,th,tr,tdvideo,tt,u,ul,var{background:transparent;border:0 none;font-size:100%;margin:0;padding:0;border:0;outline:0;vertical-align:top;}ol, ul {list-style:none;}blockquote, q {quotes:none;}table, table td {padding:0;border:none;border-collapse:collapse;}img {vertical-align:top;}embed {vertical-align:top;}
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {display:block;}
mark, rp, rt, ruby, summary, time {display:inline;}
input, textarea {border:0; padding:0; margin:0; outline: 0;}
iframe {border:0; margin:0; padding:0;}
input, textarea, select {margin:0; padding:0px;}

/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */

html { -webkit-text-size-adjust: none;}
.video embed,.video object,.video iframe { width: 100%;  height: auto;}
img{max-width:100%;	height: auto;width: auto\9; /* ie8 */}

a{color: #111;text-decoration: none;}
a:hover {color: #000;}

h1, h2 	{font-size: 25px;line-height: 25px;}
h3, h4	{font-size: 20px;line-height: 20px;}
h5, h6	{font-size: 16px;line-height: 16px;}

p{margin: 10px 0;line-height: 1.7;letter-spacing: 1px;color: #666;}

.post{}
.post:after, .post:before, article:after, article:before, section:after, section:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;}

.clear{content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix:after, .clearfix:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;}

.line{width: 90px; height: 3px; background-color: #FE9B13;display: inline-block;margin-top:20px;}

/* ---------------------------------------------------------------------------- */
/* ------------------------------------Html-Body------------------------------- */
/* ---------------------------------------------------------------------------- */
html, body {width:100%; padding:0; margin:0; height: 100%;}
body {color: #3F3F3F;font-family: "Roboto",sans-serif;}
body .wrap-body{}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Header--------------------------------- */
/* ---------------------------------------------------------------------------- */
header{
	background-color: #0300d8;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header .top-bar {background-color: rgba(0, 0, 0, 0.4);}
header .top-bar .wrap-top{}

header .top-bar ul li{display:inline;}
header .top-bar ul p{display:inline;margin: 0 25px;float:left;}
header .top-bar .mail p{background: url(../images/Mail.png) no-repeat 0px 0px;color:#fff;padding-left: 33px;font-size:15px;}
header .top-bar .phone p{background: url(../images/Phone.png) no-repeat 0px 0px;color:#fff;padding-left: 33px;font-size:15px;}

.logo img{display: inline-block;}

header .nav-bar {background: #F0F0F0; }
header .nav-bar .wrap-nav{}

nav { margin: 17px auto 0px auto;display: inline-block;}
nav .active a{color: #FE9B13!important;}



/* ---------------------------------------------------------------------------- */
/* -------------------------------------Container------------------------------ */
/* ---------------------------------------------------------------------------- */
#container {}
#container .wrap-container{background: #ffffff;}

/* ---content-box--- */
.content-box {}
.content-box .wrap-box {padding:0px 10px; position: relative;}
.content-box .header {text-align: center; margin: 30px 0; }
.content-box .header h2{font-size: 34px; color:#FE9B13;font-weight: 500;letter-spacing: 3px;}
.content-box .header p{margin-top: 30px;}
.content-box .header .wrapper{padding: 5px 30px; display: inline-block;}
.content-box .post h3{margin: 25px 0;font-size: 25px;}

.content-box.boxstyle-1{background: #F4F3EE;}
.content-box.boxstyle-2{background: #fff; color: #000;}
.content-box.boxstyle-3{background: url('../images/bg.jpg') no-repeat 100% 100%;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;height: 400px;}


.content-box.box-1 {}
.content-box.box-1  img{max-height: 230px;width:100%;border-top-left-radius: 8px;border-top-right-radius: 8px;}
.content-box.box-1 .post{display: inline-block;background-color:#fff;-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;}
.content-box.box-1 h3 {color: #000; margin: 25px;}
.content-box.box-1 .upload { padding: 5px 15px;;border-top: 1px solid #eee;font-size: 15px;color: #555;}
.content-box.box-1 .upload:hover {background : #DDD;border-bottom-left-radius: 8px;border-bottom-right-radius: 8px;}
.content-box.box-1 .upload a{ color: #FE9B13;font-weight: bold;}
.content-box.box-1 .upload a:hover{ color: #000;}

.content-box.box-2 {text-align: center;}
.content-box.box-2 .wrapper{}
.content-box.box-2 .post{}
.content-box.box-2 .wrap-img1 {width: 150px; height: 150px; border-radius: 50%; border: 1px solid #DDD; }
.content-box.box-2 .wrap-img1 img{padding-top: 40px;}

.content-box.box-3 {text-align: center;}
.content-box.box-3 p{font-size: 40px;color: #fff;line-height: 1.8;font-weight: bold;margin-top: 80px;}


.content-box.box-4  {text-align: center;}
.content-box.box-4 a{color:#000;font-weight: 500;}
.content-box.box-4 a:hover{color: #FE9B13;}
.content-box.box-4  span{color:#999;font-size: 19px;}
.content-box.box-4  .post {margin: 70px 0;}
.content-box.box-4  .post h3{margin: 25px 0 15px 0;}

.content-box.box-5 {text-align: center;}
.content-box.box-5 .header {text-align: right; }
.content-box.box-5 .header .wrapper{border: none;}
.content-box.box-5 .subcribe-form{text-align: left;}
.content-box.box-5 p{font-size: 40px;color: #fff;line-height: 1.8;font-weight: bold;margin-top: 80px;}

.content-box.box-6 {}
.content-box.box-6 .wrap-box{margin: 50px 0 30px 0;}
.content-box.box-6 .extra {}
.content-box.box-6 .widget {}
.content-box.box-6 .widget-box{padding:0px;}
.content-box.box-6  .widget img{ height: 150px;max-width: 243px; width: 100%;}
.content-box.box-6  .post h3, h4{margin: 10px 0 15px 0;line-height: 1.2;}
.content-box.box-6 .upload a{color: #FE9B13;font-weight: bold;}
.content-box.box-6 .upload a:hover{color: #000;}



/* ---------------------------------------------------------------------------- */
/* -------------------------------------Footer--------------------------------- */
/* ---------------------------------------------------------------------------- */
footer{background-color:#26232D;color: #999999;}
footer .wrap-footer{padding: 20px 0;}
footer .wrap-footer p{font-weight: bold;}

footer .widget-title {border-bottom: 4px solid #444;}
footer .widget-title h5{color: #fff;}
footer .widget-box {margin: 0px;background: none;padding: 0px;}

footer .bottom-footer {background-color:#555;text-align: center;}
footer .wrap-bottom {padding: 15px; font-style: italic;}
footer .bottom-footer a {color: #999999;text-decoration:underline;}
footer .bottom-footer a:hover {color: #fff;}



/* ---------------------------------------------------------------------------- */
/* -------------------------------------Contact-------------------------------- */
/* ---------------------------------------------------------------------------- */
.contact {background:#fff;-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;}
.contact h2{font-size: 34px; font-weight: 500;letter-spacing: 3px;padding-top: 30px ;text-align: center;}

#contact_form {padding:25px;}

#ff label {cursor:pointer;margin:5px 0;display:block;font-weight:bold;}

#ff input {display:block;width:90%;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;color:#000;	border:1px solid #5f5f5f;padding:10px;margin: 5px 0 25px 0;}

textarea {display:block;width:90%;height:200px; border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;background-color:#fff; color:#000;	border:1px solid #5f5f5f;padding:10px;margin: 5px 0 25px 0;}

#ff .sendButton {cursor:pointer;background-color:#37c32d;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;;width:100px;color:#ffffff;}
#ff .sendButton:hover {opacity: 0.8;}

.button{
    background: #65fd40;
}

.button:hover{
    background: #9df368;
}

footer {
    position: fixed; /* Фиксированное положение */
    left: 0; bottom: 0; /* Левый нижний угол */
    width: 100%; /* Ширина слоя */
}

.editable-block:hover {
    outline: 2px solid #5555ff;
    outline-offset:-4px;
    cursor: pointer;
}

/* всплывающее окно создания сделки */  
.edit_overlay_popup {
    display:none;
    position:fixed;
    z-index: 2999;
    top:0;
    right:0;
    left:0;
    bottom:0;
    background:#000;
    opacity:0.5;
  }
  
  .popup_create_deal {
    display: none;
    z-index: 3000;
    width: 900px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 10%;
    left: 0;
    right: 0;
    text-align: center;
  }
    
  .container_form_create_deal {
    /* width: 500px; */
    min-height: 500px;
    background-color: #fff;
    padding: 50px 20px;
    border-radius: 20px;
    font-size: 18px;
  }

  .buttons_create_deal .button_create_deal {
    display: block;
    height: 50px;
    width: 70%;
    text-align: center;
    padding: 9px 0;
    margin: 30px auto;
    font-size: 14px;
    font-family: "ProximaNovaBold", sans-serif;
    color: white;
    background: #ddaf6a;
    border: 2px solid #ddaf6a;
    text-transform: uppercase;
    cursor: pointer;
  }

  .buttons_create_deal {
    margin-top: 110px;
  }

  .link {
    color: #2727b7;
  }
  a:hover {
    color: #522994;
  }

  .edit-button {
    background-color: #bcbcbc;
    padding: 5px;
    margin-right: 10px;
  }
  .edit-buttons {
    margin-top: 10px;
  }
  .editable:hover {
    border: solid 2px #888;
  }
