/*************************************
* Bricks Application
* Author:
* File: _css_/styles.css
* Date: 04/08/2020
**************************************/


/******************************************************************
    light theme colors definitions
*******************************************************************/
/*[data-theme="light"] */
:root {

    --modal-bg: #e8e8e8;
    --modal-header-bg: #d0d0d0;
    --modal-header-bg-hover: #366DAD;
    --modal-footer-bg: #d8d8d8;
    --modal-times-color: #f0f0f0;
    --modal-footer-txt: #282624;

    --dialog-header-bg: #E0E0E0;
    --dialog-header-txt: #282624;
    --dialog-body-bg: #F4F4F4;
    --dialog-body-border: #a0a0a0;
    --dialog-body-txt: #282624;
    --dialog-menu-txt: #282624;
    --dialog-menu-bg-hover: #9BC1FF;

}

body {
    position: relative;
}
.dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1050;
    padding: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    
    /*touch-action: none;*/
}

.dialog img {
    max-width: 100%;
}
.dialog-box {
    /*touch-action: none;*/
    /*font-family: Roboto;*/
    color: var(--dialog-body-txt);
    margin: auto;    
    background-color: var(--modal-bg);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    position: relative;
    max-width: 98%;
    max-height: 98%;
    /*min-width: 300px;*/
    /*min-height: 300px;*/
    /*max-width: 40%;*/
    /*max-height: 70%;*/
    border: 1px solid gray;
}

.dialog-limited {
    max-width: 600px;
}

.dialog-header {
    display: flex;
    padding: 6px 16px; 
    padding-right: 14px;
    background-color: var(--modal-header-bg);
    vertical-align: middle;
    color: var(--dialog-header-txt);
    font-family: Michroma;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 1.2rem;
    pointer-events: auto;
}
.dialog .btntimes {
    color: #808080;
    padding: 4px 6px;
    border-radius: 4px;
}
.dialog .btntimes:hover {
    background-color: #af4060;
    color: white;
}

.dialog-body {
    color: var(--dialog-body-txt);
    padding: 16px;
    font-size: 1.1rem;
    overflow-y: auto;
}

.dialog-body iframe {
    -ms-flex: 1 1 auto ;
    flex: 1 1 auto ;
    padding: 0;
    margin: 0;
    min-height:80vh; 
    min-width:50vw ;
}

.dialog-footer {
    display: flex;
    padding: 16px 16px;
    vertical-align: center;
    color: var(--brick-txtl-3);
    font-size: 0.8rem;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: var(--modal-footer-bg);
    flex-direction: row;
    justify-content: flex-end;
    color: var(--modal-footer-txt);
}


@media (max-width: 1200px) {
    .dialog-header {
        font-size: 1.1rem;
    }
    .dialog-limited {
        max-width: 550px;
    }
    .dialog-body {
        font-size: 1rem;
    }
    .dialog-body iframe {
        min-width:60vw ;
    }
}

@media (max-width: 992px) {
    .dialog-header {
        font-size: 1rem;
    }
    .dialog-limited {
        max-width: 500px;
    }
    .dialog-body {
        font-size: 0.9rem;
    }
    .dialog-body iframe {
        min-width:70vw ;
    }
}

@media (max-width: 768px) {
    .dialog-header {
        font-size: 0.9rem;
    }
    .dialog-limited {
        max-width: 80%;
    }
    .dialog-body {
        font-size: 0.8rem;
    }
    .dialog-body iframe {
        min-width:80vw ;
    }
}

@media (max-width: 576px) {
    .dialog-header {
        font-size: 0.8rem;
    }
    .dialog-limited {
        max-width: 90%;
    }
    .dialog-body {
        font-size: 0.8rem;
    }
    .dialog-body iframe {
        min-width: 95vw;
    }
}

.br_menuitem:hover {
    background-color: #44729C !important;
    color: #f0f0f0 !important;
    /*border-radius: 2px;*/
}

.br_zindextop {
    z-index: 1060 !important;

}

.br_bordergreen {
    border: 1px solid green;
}
.br_borderred {
    border: 1px solid red;
}
.bordered {
    border: 1px solid silver;
    
}


.shoppingbasket {
  position:relative;
  display: block;
}

.basketitems {
  color:#fff;
  font-size:75%;
  background-color:#e74c3c;
  position:absolute;
  top:50%;
  left:70%;
  padding: 3px 6px;
  border-radius:1000px;
  /*pointer-events: none;*/
}

/*.cartdialog {*/
    /*max-width: 1200px;*/
/*    margin-left: auto;*/

/*}*/
/*.carttable {*/
    /*font-size: 1rem;*/
/*    border: 1px solid #e0e0e0;*/
/*    border-collapse: collapse;*/
/*    background-color: white;*/
/*    box-shadow: 0 3px 6px rgba(0,0,0,0.2);*/
/*}*/

/*.carttable tr:nth-child(odd){*/
/*  background-color: #e5e7f5;*/
/*    touch-action: none;*/
/*}*/

/*.carttable th {*/
/*    padding: 6px 12px;*/
/*    background-color: white;*/
/*    touch-action: none;*/
/*}*/

.cartline {
    padding: 0 12px;
    /*touch-action: none;*/
}

.shopbtn {
    background-color: #308822 !important;
}
.shopbtn:hover {
    background-color: #30aa22 !important;
}

.cartline td {
    padding: 6px;
    /*touch-action: none;*/
}

.cartline img {
    object-fit: scale-down;
}

.cartbtn {
    border-radius: 6px;    
    padding: 2px 6px !important;
    margin: 0!important;
    min-width: 22px;
    min-height: 22px;
    cursor: pointer;
}
.br_btn {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 4px 8px;
    /* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.16, rgb(207, 207, 207)), color-stop(0.79, rgb(252, 252, 252)));
    background-image: -moz-linear-gradient(center bottom, rgb(207, 207, 207) 16%, rgb(252, 252, 252) 79%);
    background-image: linear-gradient(to top, rgb(207, 207, 207) 16%, rgb(252, 252, 252) 79%); 
    padding: 3px;
    border: 1px solid #000;
    color: black;
    text-decoration: none; */

}

.br_btndefault, br_btncancel, .br_btnprimary {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.br_btndefault:focus {
    outline: 0!important;
}
.carttotal {
    font-size: 1.2rem;    
}

@media (max-width: 576px) {
    .carttable {
        /*font-size: 0.9rem;*/
    }
    .carttotal {
        font-size: 1rem;    
    }

    .carttable th:nth-child(3){
        display: none;
    }

    .carttable tr td:nth-child(3){
        display: none;
    }

    .cartbtn {
        min-width: 20px;
        min-height: 20px;
    }
    
    .svg-icon {
        min-width: 1.2rem;
        /*min-width: 20px !important;*/
    }
}


.register-box  {
    /*font-family: Roboto;*/
    margin: auto;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
/* Full-width input fields */
.register-box input[type=text], input[type=password] {
  width: 100%;
  padding: 8px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: 1px solid #ccc;
  background: #e1e1e1;
}

.register-box input[type=text]:focus, input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

.register-box hr {
  border: 1px solid #c0c0c0;
  margin-bottom: 25px;
}

/* Set a style for all buttons */
.register-box button {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 40%;
  opacity: 0.9;
}

.register-box button:hover {
  opacity:1;
}

/* Extra styles for the cancel button */
.register-box .cancelbtn {
  /*padding: 14px 20px;*/
  background-color: #f44336;
}

/* Float cancel and signup buttons and add an equal width */
.register-box .cancelbtn, .register-box .signupbtn {
  float: left;
  width: 40%;
  margin: 16px;
}


/* Clear floats */
.register-box .clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.color-accent {
    color: #366DAD;
}
.dialimg {
    display: inline-block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
}